Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b9c48caf18051205e53a4f46e0f602ec610cbd73+55c123e92a81b52ef904480be8a3eb69bc416b29 (ccd037d50989a2f40e0df42e030b45797292accd) 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-ssh16921313220160900904.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9858720513550253672.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12404474172994923141.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8137510868415011331.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15848139499658329770.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 ‘prd-centos7-blackbox-4c-2g-16172’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16367’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16368’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16370’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16373 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-318 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit b9c48caf18051205e53a4f46e0f602ec610cbd73 Merge succeeded, producing b9c48caf18051205e53a4f46e0f602ec610cbd73 Checking out Revision b9c48caf18051205e53a4f46e0f602ec610cbd73 (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9c48caf18051205e53a4f46e0f602ec610cbd73 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9c48caf18051205e53a4f46e0f602ec610cbd73 # timeout=10 > git rev-list --no-walk 5406a81bc14e35dea807788b8be977acec42db7e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-22T21:38:13.093Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-22T21:38:13.167Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-22T21:38:13.185Z] ========================================================= [2023-05-22T21:38:13.185Z] EdgeX Global Pipelines Version Info [2023-05-22T21:38:13.185Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:38:13.906Z] ------------------- [2023-05-22T21:38:13.906Z] stable info: [2023-05-22T21:38:13.906Z] ------------------- [2023-05-22T21:38:13.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-22T21:38:13.906Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T21:38:13.906Z] Message: update stable to v1.0.249 [2023-05-22T21:38:14.476Z] ------------------- [2023-05-22T21:38:14.476Z] experimental info: [2023-05-22T21:38:14.476Z] ------------------- [2023-05-22T21:38:14.476Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-22T21:38:14.476Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T21:38:14.476Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-22T21:38:14.646Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-22T21:38:14.658Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-22T21:38:14.671Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-22T21:38:14.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-22T21:38:14.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-22T21:38:14.718Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-22T21:38:14.733Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-22T21:38:14.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-22T21:38:14.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-22T21:38:14.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-22T21:38:14.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-22T21:38:14.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-22T21:38:14.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-22T21:38:14.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-22T21:38:14.847Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T21:38:14.856Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T21:38:14.865Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T21:38:14.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T21:38:14.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-22T21:38:14.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-22T21:38:14.919Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-22T21:38:14.933Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-22T21:38:14.947Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-22T21:38:14.966Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-22T21:38:14.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-22T21:38:14.994Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-22T21:38:15.007Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-22T21:38:15.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2023-05-22T21:38:15.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2023-05-22T21:38:15.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2023-05-22T21:38:15.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9c48caf18051205e53a4f46e0f602ec610cbd73 [Pipeline] echo [2023-05-22T21:38:15.107Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9c48ca [Pipeline] echo [2023-05-22T21:38:15.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T21:38:15.169Z] provisioning config files... [2023-05-22T21:38:15.184Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config16898527592561647923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:38:15.486Z] ---> docker-login.sh [2023-05-22T21:38:15.486Z] nexus3.edgexfoundry.org:10001 [2023-05-22T21:38:15.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:15.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:15.751Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:15.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:15.751Z] [2023-05-22T21:38:15.751Z] Login Succeeded [2023-05-22T21:38:15.751Z] nexus3.edgexfoundry.org:10002 [2023-05-22T21:38:15.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:16.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:16.011Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:16.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:16.011Z] [2023-05-22T21:38:16.011Z] Login Succeeded [2023-05-22T21:38:16.011Z] nexus3.edgexfoundry.org:10003 [2023-05-22T21:38:16.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:16.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:16.011Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:16.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:16.011Z] [2023-05-22T21:38:16.011Z] Login Succeeded [2023-05-22T21:38:16.011Z] nexus3.edgexfoundry.org:10004 [2023-05-22T21:38:16.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:16.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:16.273Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:16.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:16.273Z] [2023-05-22T21:38:16.273Z] Login Succeeded [2023-05-22T21:38:16.273Z] docker.io [2023-05-22T21:38:16.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:16.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:16.532Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:16.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:16.532Z] [2023-05-22T21:38:16.532Z] Login Succeeded [2023-05-22T21:38:16.532Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T21:38:16.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-22T21:38:16.934Z] + git rev-list -1 --merges b9c48caf18051205e53a4f46e0f602ec610cbd73~1..b9c48caf18051205e53a4f46e0f602ec610cbd73 [Pipeline] echo [2023-05-22T21:38:16.994Z] -----------> git rev-list -1 --merges b9c48caf18051205e53a4f46e0f602ec610cbd73~1..b9c48caf18051205e53a4f46e0f602ec610cbd73 b9c48caf18051205e53a4f46e0f602ec610cbd73 [false] [Pipeline] sh [2023-05-22T21:38:17.278Z] + git log --format=format:%s -1 b9c48caf18051205e53a4f46e0f602ec610cbd73 [Pipeline] echo [2023-05-22T21:38:17.293Z] ========================================================= [2023-05-22T21:38:17.293Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-22T21:38:17.293Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T21:38:17.655Z] + git log --format=format:%s -1 b9c48caf18051205e53a4f46e0f602ec610cbd73 [Pipeline] echo [2023-05-22T21:38:17.667Z] [semverPrep] GIT_COMMIT: b9c48caf18051205e53a4f46e0f602ec610cbd73, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo [2023-05-22T21:38:17.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-22T21:38:18.094Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-22T21:38:18.094Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-22T21:38:18.094Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-22T21:38:18.094Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-22T21:38:18.094Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-22T21:38:18.094Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-22T21:38:18.094Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:38:18.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T21:38:18.477Z] [2023-05-22T21:38:18.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:38:18.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T21:38:18.782Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-22T21:38:18.782Z] b85a868b505f: Pulling fs layer [2023-05-22T21:38:18.782Z] e2be974225ed: Pulling fs layer [2023-05-22T21:38:18.782Z] 339a4e72a1f5: Pulling fs layer [2023-05-22T21:38:18.782Z] 988bab9f4d93: Pulling fs layer [2023-05-22T21:38:18.782Z] 1469e6f7b9e6: Pulling fs layer [2023-05-22T21:38:18.782Z] eaf3925da568: Pulling fs layer [2023-05-22T21:38:18.782Z] bab4dde63d76: Pulling fs layer [2023-05-22T21:38:18.782Z] bde34c3a00c8: Pulling fs layer [2023-05-22T21:38:18.782Z] b352a97aabf1: Pulling fs layer [2023-05-22T21:38:18.782Z] 4872d77fe225: Pulling fs layer [2023-05-22T21:38:18.782Z] 5851b861e8e6: Pulling fs layer [2023-05-22T21:38:18.782Z] 1469e6f7b9e6: Waiting [2023-05-22T21:38:18.782Z] bde34c3a00c8: Waiting [2023-05-22T21:38:18.782Z] b352a97aabf1: Waiting [2023-05-22T21:38:18.782Z] eaf3925da568: Waiting [2023-05-22T21:38:18.782Z] bab4dde63d76: Waiting [2023-05-22T21:38:18.782Z] 4872d77fe225: Waiting [2023-05-22T21:38:18.782Z] 5851b861e8e6: Waiting [2023-05-22T21:38:18.782Z] 988bab9f4d93: Waiting [2023-05-22T21:38:18.782Z] e2be974225ed: Verifying Checksum [2023-05-22T21:38:18.782Z] e2be974225ed: Download complete [2023-05-22T21:38:18.782Z] 988bab9f4d93: Verifying Checksum [2023-05-22T21:38:18.782Z] 988bab9f4d93: Download complete [2023-05-22T21:38:19.040Z] 339a4e72a1f5: Verifying Checksum [2023-05-22T21:38:19.040Z] 339a4e72a1f5: Download complete [2023-05-22T21:38:19.040Z] 1469e6f7b9e6: Verifying Checksum [2023-05-22T21:38:19.040Z] 1469e6f7b9e6: Download complete [2023-05-22T21:38:19.040Z] eaf3925da568: Download complete [2023-05-22T21:38:19.040Z] bde34c3a00c8: Verifying Checksum [2023-05-22T21:38:19.040Z] bde34c3a00c8: Download complete [2023-05-22T21:38:19.040Z] b352a97aabf1: Download complete [2023-05-22T21:38:19.040Z] 4872d77fe225: Verifying Checksum [2023-05-22T21:38:19.040Z] 4872d77fe225: Download complete [2023-05-22T21:38:19.040Z] 5851b861e8e6: Verifying Checksum [2023-05-22T21:38:19.040Z] 5851b861e8e6: Download complete [2023-05-22T21:38:19.040Z] b85a868b505f: Verifying Checksum [2023-05-22T21:38:19.040Z] b85a868b505f: Download complete [2023-05-22T21:38:19.299Z] bab4dde63d76: Verifying Checksum [2023-05-22T21:38:19.299Z] bab4dde63d76: Download complete [2023-05-22T21:38:20.698Z] b85a868b505f: Pull complete [2023-05-22T21:38:20.698Z] e2be974225ed: Pull complete [2023-05-22T21:38:20.958Z] 339a4e72a1f5: Pull complete [2023-05-22T21:38:21.218Z] 988bab9f4d93: Pull complete [2023-05-22T21:38:21.479Z] 1469e6f7b9e6: Pull complete [2023-05-22T21:38:21.479Z] eaf3925da568: Pull complete [2023-05-22T21:38:23.384Z] bab4dde63d76: Pull complete [2023-05-22T21:38:23.384Z] bde34c3a00c8: Pull complete [2023-05-22T21:38:23.643Z] b352a97aabf1: Pull complete [2023-05-22T21:38:23.643Z] 4872d77fe225: Pull complete [2023-05-22T21:38:23.643Z] 5851b861e8e6: Pull complete [2023-05-22T21:38:23.643Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-22T21:38:23.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T21:38:23.643Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:38:24.012Z] prd-ubuntu20.04-docker-8c-8g-16373 does not seem to be running inside a container [2023-05-22T21:38:24.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-22T21:38:26.878Z] $ docker top 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a -eo pid,comm [2023-05-22T21:38:26.943Z] 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). [2023-05-22T21:38:26.943Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-22T21:38:26.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T21:38:26.990Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T21:38:27.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T21:38:27.120Z] $ docker exec 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a ssh-agent [2023-05-22T21:38:27.235Z] SSH_AUTH_SOCK=/tmp/ssh-BtVoBF39cAJ9/agent.32 [2023-05-22T21:38:27.235Z] SSH_AGENT_PID=38 [2023-05-22T21:38:27.242Z] Running ssh-add (command line suppressed) [2023-05-22T21:38:27.347Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_15766400578799075823.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_15766400578799075823.key) [2023-05-22T21:38:27.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T21:38:27.657Z] + git tag --points-at HEAD [Pipeline] } [2023-05-22T21:38:27.667Z] $ docker exec --env ******** --env ******** 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a ssh-agent -k [2023-05-22T21:38:27.776Z] unset SSH_AUTH_SOCK; [2023-05-22T21:38:27.777Z] unset SSH_AGENT_PID; [2023-05-22T21:38:27.777Z] echo Agent pid 38 killed; [2023-05-22T21:38:27.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-22T21:38:27.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T21:38:27.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T21:38:27.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T21:38:27.933Z] $ docker exec 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a ssh-agent [2023-05-22T21:38:28.076Z] SSH_AUTH_SOCK=/tmp/ssh-QC76L8esAY2P/agent.70 [2023-05-22T21:38:28.076Z] SSH_AGENT_PID=76 [2023-05-22T21:38:28.082Z] Running ssh-add (command line suppressed) [2023-05-22T21:38:28.181Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_11016525878454421469.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_11016525878454421469.key) [2023-05-22T21:38:28.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T21:38:28.485Z] + git semver init [2023-05-22T21:38:28.744Z] 2023-05-22 21:38:28,668 [run_init] DEBUG init version:0.0.0 force:False [2023-05-22T21:38:28.744Z] 2023-05-22 21:38:28,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-22T21:38:28.744Z] 2023-05-22 21:38:28,670 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-22T21:38:28.744Z] 2023-05-22 21:38:28,670 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) [2023-05-22T21:38:29.684Z] 2023-05-22 21:38:29,675 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude [2023-05-22T21:38:29.684Z] 2023-05-22 21:38:29,675 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False [2023-05-22T21:38:29.684Z] 2023-05-22 21:38:29,676 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-22T21:38:29.684Z] 2023-05-22 21:38:29,680 [execute] INFO git cat-file --batch-check [2023-05-22T21:38:29.684Z] 2023-05-22 21:38:29,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T21:38:29.946Z] 2023-05-22 21:38:29,688 [execute] INFO git cat-file --batch [2023-05-22T21:38:29.946Z] 2023-05-22 21:38:29,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T21:38:29.946Z] 2023-05-22 21:38:29,694 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-22T21:38:29.946Z] 0.0.0 [Pipeline] } [2023-05-22T21:38:29.955Z] $ docker exec --env ******** --env ******** 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a ssh-agent -k [2023-05-22T21:38:30.059Z] unset SSH_AUTH_SOCK; [2023-05-22T21:38:30.061Z] unset SSH_AGENT_PID; [2023-05-22T21:38:30.062Z] echo Agent pid 76 killed; [2023-05-22T21:38:30.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-22T21:38:30.378Z] + git semver [Pipeline] } [2023-05-22T21:38:30.652Z] $ docker stop --time=1 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a [2023-05-22T21:38:31.955Z] $ docker rm -f --volumes 636b0827bc3c1ac141ecf1d25a252f83aced3e4681a2f16f8c01ac9b7ecdb25a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T21:38:32.303Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-22T21:38:32.531Z] Stashed 1 file(s) [Pipeline] echo [2023-05-22T21:38:32.534Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T21:38:32.682Z] provisioning config files... [2023-05-22T21:38:32.693Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config10468132761176826266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:38:32.992Z] ---> docker-login.sh [2023-05-22T21:38:32.992Z] nexus3.edgexfoundry.org:10001 [2023-05-22T21:38:32.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:32.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:32.992Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:32.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:32.992Z] [2023-05-22T21:38:32.992Z] Login Succeeded [2023-05-22T21:38:32.992Z] nexus3.edgexfoundry.org:10002 [2023-05-22T21:38:32.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:32.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:32.992Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:32.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:32.992Z] [2023-05-22T21:38:32.992Z] Login Succeeded [2023-05-22T21:38:32.992Z] nexus3.edgexfoundry.org:10003 [2023-05-22T21:38:33.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:33.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:33.251Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:33.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:33.251Z] [2023-05-22T21:38:33.251Z] Login Succeeded [2023-05-22T21:38:33.251Z] nexus3.edgexfoundry.org:10004 [2023-05-22T21:38:33.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:33.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:33.251Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:33.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:33.251Z] [2023-05-22T21:38:33.251Z] Login Succeeded [2023-05-22T21:38:33.251Z] docker.io [2023-05-22T21:38:33.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:38:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:38:33.772Z] Configure a credential helper to remove this warning. See [2023-05-22T21:38:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:38:33.772Z] [2023-05-22T21:38:33.772Z] Login Succeeded [2023-05-22T21:38:33.772Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T21:38:33.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T21:38:33.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T21:38:33.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T21:38:33.862Z] ========================================================= [2023-05-22T21:38:33.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-22T21:38:33.862Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:38:34.170Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-22T21:38:34.170Z] Sending build context to Docker daemon 10.93MB [2023-05-22T21:38:34.170Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:38:34.170Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-22T21:38:34.170Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-22T21:38:34.170Z] f56be85fc22e: Pulling fs layer [2023-05-22T21:38:34.170Z] 85791d961cd3: Pulling fs layer [2023-05-22T21:38:34.170Z] d694b5ae8c79: Pulling fs layer [2023-05-22T21:38:34.170Z] 9f32a84ed3da: Pulling fs layer [2023-05-22T21:38:34.170Z] 4d19c01a9841: Pulling fs layer [2023-05-22T21:38:34.170Z] 9325e15d5711: Pulling fs layer [2023-05-22T21:38:34.170Z] 9f32a84ed3da: Waiting [2023-05-22T21:38:34.170Z] 4d19c01a9841: Waiting [2023-05-22T21:38:34.170Z] 556b6ee489ea: Pulling fs layer [2023-05-22T21:38:34.170Z] c5a4b2cf53e6: Pulling fs layer [2023-05-22T21:38:34.170Z] c5a4b2cf53e6: Waiting [2023-05-22T21:38:34.441Z] 85791d961cd3: Download complete [2023-05-22T21:38:34.441Z] 9f32a84ed3da: Verifying Checksum [2023-05-22T21:38:34.441Z] 9f32a84ed3da: Download complete [2023-05-22T21:38:34.441Z] 4d19c01a9841: Download complete [2023-05-22T21:38:34.441Z] f56be85fc22e: Verifying Checksum [2023-05-22T21:38:34.441Z] f56be85fc22e: Download complete [2023-05-22T21:38:34.441Z] 9325e15d5711: Verifying Checksum [2023-05-22T21:38:34.441Z] 9325e15d5711: Download complete [2023-05-22T21:38:34.441Z] f56be85fc22e: Pull complete [2023-05-22T21:38:34.701Z] 85791d961cd3: Pull complete [2023-05-22T21:38:34.960Z] d694b5ae8c79: Verifying Checksum [2023-05-22T21:38:34.960Z] d694b5ae8c79: Download complete [2023-05-22T21:38:34.960Z] c5a4b2cf53e6: Verifying Checksum [2023-05-22T21:38:34.960Z] c5a4b2cf53e6: Download complete [2023-05-22T21:38:35.218Z] 556b6ee489ea: Verifying Checksum [2023-05-22T21:38:35.218Z] 556b6ee489ea: Download complete [2023-05-22T21:38:38.516Z] d694b5ae8c79: Pull complete [2023-05-22T21:38:38.781Z] 9f32a84ed3da: Pull complete [2023-05-22T21:38:38.781Z] 4d19c01a9841: Pull complete [2023-05-22T21:38:38.781Z] 9325e15d5711: Pull complete [2023-05-22T21:38:41.330Z] 556b6ee489ea: Pull complete [2023-05-22T21:38:42.709Z] c5a4b2cf53e6: Pull complete [2023-05-22T21:38:42.709Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-22T21:38:42.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-22T21:38:42.709Z] ---> c4be618373d6 [2023-05-22T21:38:42.709Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:38:46.909Z] ---> Running in 0d81a73f0700 [2023-05-22T21:38:46.909Z] Removing intermediate container 0d81a73f0700 [2023-05-22T21:38:46.909Z] ---> 01bd533415d6 [2023-05-22T21:38:46.909Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:38:46.909Z] ---> Running in b26e9c0b79e0 [2023-05-22T21:38:46.909Z] Removing intermediate container b26e9c0b79e0 [2023-05-22T21:38:46.909Z] ---> 16b27b1c857b [2023-05-22T21:38:46.909Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:38:46.909Z] ---> Running in 97b6c22a1646 [2023-05-22T21:38:46.909Z] Removing intermediate container 97b6c22a1646 [2023-05-22T21:38:46.909Z] ---> 969c7ed2a1e6 [2023-05-22T21:38:46.909Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:38:46.909Z] ---> Running in d892607d9bd5 [2023-05-22T21:38:46.909Z] Removing intermediate container d892607d9bd5 [2023-05-22T21:38:46.909Z] ---> 7703bc78ba84 [2023-05-22T21:38:46.909Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:38:46.909Z] ---> Running in f9b9bd2fbb19 [2023-05-22T21:38:47.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T21:38:47.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T21:38:47.429Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-22T21:38:47.429Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-22T21:38:47.429Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-22T21:38:47.653Z] Still waiting to schedule task [2023-05-22T21:38:47.654Z] ‘prd-centos7-blackbox-4c-2g-16172’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-22T21:38:47.654Z] ‘prd-ubuntu20.04-docker-8c-8g-16356’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-22T21:38:47.654Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16374’ is offline [2023-05-22T21:38:47.654Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16375’ is offline [2023-05-22T21:38:47.689Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-22T21:38:47.689Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:38:47.689Z] OK: 269 MiB in 57 packages [2023-05-22T21:38:47.949Z] Removing intermediate container f9b9bd2fbb19 [2023-05-22T21:38:47.949Z] ---> e3adad8b1be7 [2023-05-22T21:38:47.949Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-22T21:38:48.210Z] ---> Running in 95616658331d [2023-05-22T21:38:48.210Z] Removing intermediate container 95616658331d [2023-05-22T21:38:48.210Z] ---> 4982852c22e7 [2023-05-22T21:38:48.210Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-22T21:38:48.210Z] ---> 892e819ebb86 [2023-05-22T21:38:48.210Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:38:48.210Z] ---> Running in 6bde9fbec31b [2023-05-22T21:39:20.373Z] Removing intermediate container 6bde9fbec31b [2023-05-22T21:39:20.373Z] ---> 314e7bf0e120 [2023-05-22T21:39:20.373Z] Step 11/12 : COPY . . [2023-05-22T21:39:20.373Z] ---> e700efe48aea [2023-05-22T21:39:20.373Z] Step 12/12 : RUN $MAKE [2023-05-22T21:39:20.373Z] ---> Running in d77b8bcdbbfb [2023-05-22T21:39:20.373Z] noop [2023-05-22T21:39:20.373Z] Removing intermediate container d77b8bcdbbfb [2023-05-22T21:39:20.373Z] ---> 7f4c1f461339 [2023-05-22T21:39:20.373Z] Successfully built 7f4c1f461339 [2023-05-22T21:39:20.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:39:20.696Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T21:39:20.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:39:20.778Z] prd-ubuntu20.04-docker-8c-8g-16373 does not seem to be running inside a container [2023-05-22T21:39:20.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-22T21:39:21.180Z] $ docker top 4d7a8b434bcda337a000bca1d6df08575dfc92a3d9bf1f6a8e131c11546487f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:39:21.528Z] + go version [2023-05-22T21:39:21.528Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-22T21:39:21.538Z] $ docker stop --time=1 4d7a8b434bcda337a000bca1d6df08575dfc92a3d9bf1f6a8e131c11546487f6 [2023-05-22T21:39:22.802Z] $ docker rm -f --volumes 4d7a8b434bcda337a000bca1d6df08575dfc92a3d9bf1f6a8e131c11546487f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:39:23.223Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T21:39:23.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:39:23.297Z] prd-ubuntu20.04-docker-8c-8g-16373 does not seem to be running inside a container [2023-05-22T21:39:23.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-22T21:39:23.637Z] $ docker top 5cf0ea98af34226942d52685ed99a8c907cad81a89e4ab6689c92799fa3a8272 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:39:23.978Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh [2023-05-22T21:39:24.271Z] + make test [2023-05-22T21:39:24.271Z] go test ./... -coverprofile=coverage.out ./... [2023-05-22T21:39:29.540Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-22T21:39:39.510Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-22T21:39:39.510Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-05-22T21:39:46.143Z] go vet ./... [2023-05-22T21:39:49.451Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T21:39:49.451Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T21:39:49.451Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T21:39:49.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T21:39:49.738Z] $ docker stop --time=1 5cf0ea98af34226942d52685ed99a8c907cad81a89e4ab6689c92799fa3a8272 [2023-05-22T21:39:50.077Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16375 in /w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-22T21:39:52.863Z] $ docker rm -f --volumes 5cf0ea98af34226942d52685ed99a8c907cad81a89e4ab6689c92799fa3a8272 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-05-22T21:39:53.081Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2023-05-22T21:39:53.128Z] The recommended git tool is: git [2023-05-22T21:39:53.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T21:39:53.365Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-22T21:39:53.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T21:39:54.226Z] + ls -al . [2023-05-22T21:39:54.226Z] total 184 [2023-05-22T21:39:54.226Z] drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:39 . [2023-05-22T21:39:54.226Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:38 .. [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:38 .dockerignore [2023-05-22T21:39:54.226Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:38 .git [2023-05-22T21:39:54.226Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:38 .github [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:38 .gitignore [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:38 .golangci.yml [2023-05-22T21:39:54.226Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:38 .semver [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:38 Attribution.txt [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:38 CHANGELOG.md [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:38 Dockerfile [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:38 GOVERNANCE.md [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:38 Jenkinsfile [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:38 LICENSE [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:38 Makefile [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:38 OWNERS.md [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:38 README.md [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:38 VERSION [2023-05-22T21:39:54.226Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:38 bin [2023-05-22T21:39:54.226Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:38 cmd [2023-05-22T21:39:54.226Z] -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:39 coverage.out [2023-05-22T21:39:54.226Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:38 driver [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:38 go.mod [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 22 21:38 go.sum [2023-05-22T21:39:54.226Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:38 snap [2023-05-22T21:39:54.226Z] -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:39:54.530Z] + 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=b9c48caf18051205e53a4f46e0f602ec610cbd73 --label arch=amd64 --label version=0.0.0 . [2023-05-22T21:39:54.530Z] Sending build context to Docker daemon 10.95MB [2023-05-22T21:39:54.530Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:39:54.530Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-22T21:39:54.530Z] ---> 7f4c1f461339 [2023-05-22T21:39:54.530Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:39:54.790Z] ---> Running in 8d917bc4610c [2023-05-22T21:39:54.790Z] Removing intermediate container 8d917bc4610c [2023-05-22T21:39:54.790Z] ---> e0ef464c82ea [2023-05-22T21:39:54.790Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:39:54.790Z] ---> Running in 38a1ef6b30a7 [2023-05-22T21:39:54.790Z] Removing intermediate container 38a1ef6b30a7 [2023-05-22T21:39:54.790Z] ---> 62304af5458e [2023-05-22T21:39:54.790Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:39:54.790Z] ---> Running in 6b040a7aabaa [2023-05-22T21:39:55.050Z] Removing intermediate container 6b040a7aabaa [2023-05-22T21:39:55.050Z] ---> 3f02401c3dd6 [2023-05-22T21:39:55.050Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:39:55.050Z] ---> Running in 00b8a5c85983 [2023-05-22T21:39:55.050Z] Removing intermediate container 00b8a5c85983 [2023-05-22T21:39:55.050Z] ---> ecf3e8c0ecec [2023-05-22T21:39:55.050Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:39:55.050Z] ---> Running in 9e4339af0eb1 [2023-05-22T21:39:55.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T21:39:55.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T21:39:55.568Z] OK: 269 MiB in 57 packages [2023-05-22T21:39:56.137Z] Removing intermediate container 9e4339af0eb1 [2023-05-22T21:39:56.137Z] ---> 8ea660b1e781 [2023-05-22T21:39:56.137Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-22T21:39:56.137Z] ---> Running in 0026b0dddcaa [2023-05-22T21:39:56.137Z] Removing intermediate container 0026b0dddcaa [2023-05-22T21:39:56.137Z] ---> 2396cbbc6c3a [2023-05-22T21:39:56.137Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-22T21:39:56.137Z] ---> cceb5d43908d [2023-05-22T21:39:56.137Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:39:56.137Z] ---> Running in 703ef92476a9 [2023-05-22T21:39:57.126Z] Removing intermediate container 703ef92476a9 [2023-05-22T21:39:57.126Z] ---> 8a390c5667ac [2023-05-22T21:39:57.126Z] Step 11/25 : COPY . . [2023-05-22T21:39:57.386Z] ---> 801dacd97264 [2023-05-22T21:39:57.387Z] Step 12/25 : RUN $MAKE [2023-05-22T21:39:57.387Z] ---> Running in 3aeb100a7a14 [2023-05-22T21:39:57.646Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-22T21:40:03.291Z] using credential edgex-jenkins-ssh [2023-05-22T21:40:03.311Z] Cloning the remote Git repository [2023-05-22T21:40:03.384Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-22T21:40:03.537Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2023-05-22T21:40:03.770Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-22T21:40:03.772Z] > git --version # timeout=10 [2023-05-22T21:40:03.802Z] > git --version # 'git version 2.25.1' [2023-05-22T21:40:03.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T21:40:04.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T21:40:06.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-22T21:40:06.226Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T21:40:08.272Z] Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit b9c48caf18051205e53a4f46e0f602ec610cbd73 [2023-05-22T21:40:07.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-22T21:40:07.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-22T21:40:07.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T21:40:07.727Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-22T21:40:08.300Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T21:40:08.410Z] > git checkout -f b9c48caf18051205e53a4f46e0f602ec610cbd73 # timeout=10 [2023-05-22T21:40:08.529Z] > git remote # timeout=10 [2023-05-22T21:40:08.564Z] > git config --get remote.origin.url # timeout=10 [2023-05-22T21:40:08.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T21:40:08.617Z] > git merge 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 [2023-05-22T21:40:08.688Z] Merge succeeded, producing b9c48caf18051205e53a4f46e0f602ec610cbd73 [2023-05-22T21:40:08.689Z] Checking out Revision b9c48caf18051205e53a4f46e0f602ec610cbd73 (PR-318) [2023-05-22T21:40:09.426Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T21:40:08.656Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-22T21:40:08.695Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T21:40:08.731Z] > git checkout -f b9c48caf18051205e53a4f46e0f602ec610cbd73 # timeout=10 [2023-05-22T21:40:10.339Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-22T21:40:10.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T21:40:10.339Z] Dload Upload Total Spent Left Speed [2023-05-22T21:40:10.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-05-22T21:40:11.098Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-22T21:40:11.463Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-22T21:40:11.463Z] + sudo tee /etc/docker/daemon.new [2023-05-22T21:40:11.738Z] { [2023-05-22T21:40:11.738Z] "registry-mirrors": [ [2023-05-22T21:40:11.738Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-22T21:40:11.738Z] ], [2023-05-22T21:40:11.738Z] "bip": "10.250.0.254/24", [2023-05-22T21:40:11.738Z] "hosts": [ [2023-05-22T21:40:11.738Z] "tcp://0.0.0.0:5555", [2023-05-22T21:40:11.738Z] "unix:///var/run/docker.sock" [2023-05-22T21:40:11.738Z] ], [2023-05-22T21:40:11.738Z] "mtu": 1458, [2023-05-22T21:40:11.738Z] "selinux-enabled": true, [2023-05-22T21:40:11.738Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-22T21:40:11.738Z] } [Pipeline] sh [2023-05-22T21:40:12.105Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-22T21:40:12.470Z] + sudo service docker restart [2023-05-22T21:40:19.577Z] Removing intermediate container 3aeb100a7a14 [2023-05-22T21:40:19.577Z] ---> 9097b99d2f6c [2023-05-22T21:40:19.577Z] Step 13/25 : FROM alpine:3.17 [2023-05-22T21:40:19.577Z] 3.17: Pulling from library/alpine [2023-05-22T21:40:19.577Z] f56be85fc22e: Already exists [2023-05-22T21:40:19.577Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T21:40:19.577Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T21:40:19.577Z] ---> 9ed4aefc74f6 [2023-05-22T21:40:19.577Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-22T21:40:19.577Z] ---> Running in 4b7ffef13d21 [2023-05-22T21:40:19.577Z] Removing intermediate container 4b7ffef13d21 [2023-05-22T21:40:19.577Z] ---> 2df0925844cf [2023-05-22T21:40:19.577Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-22T21:40:19.577Z] ---> Running in 936986f56a27 [2023-05-22T21:40:19.577Z] Removing intermediate container 936986f56a27 [2023-05-22T21:40:19.577Z] ---> edf6579e80a4 [2023-05-22T21:40:19.577Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-22T21:40:19.577Z] ---> Running in 8549f8f914dd [2023-05-22T21:40:19.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T21:40:19.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T21:40:19.577Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-22T21:40:19.577Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:40:19.577Z] OK: 7 MiB in 16 packages [2023-05-22T21:40:19.577Z] Removing intermediate container 8549f8f914dd [2023-05-22T21:40:19.577Z] ---> 779171a8ffe6 [2023-05-22T21:40:19.577Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-22T21:40:19.577Z] ---> 7bed721963c4 [2023-05-22T21:40:19.577Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-22T21:40:19.577Z] ---> a729b02c262d [2023-05-22T21:40:19.577Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-22T21:40:19.577Z] ---> 9e0836f955de [2023-05-22T21:40:19.577Z] Step 20/25 : EXPOSE 59986 [2023-05-22T21:40:19.577Z] ---> Running in 04f31be9e0e3 [2023-05-22T21:40:19.577Z] Removing intermediate container 04f31be9e0e3 [2023-05-22T21:40:19.577Z] ---> 02f4e9bcd9b7 [2023-05-22T21:40:19.577Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-22T21:40:19.577Z] ---> Running in f8d929531965 [2023-05-22T21:40:19.577Z] Removing intermediate container f8d929531965 [2023-05-22T21:40:19.577Z] ---> 2a30e136a706 [2023-05-22T21:40:19.577Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-22T21:40:19.577Z] ---> Running in 36a58fbbfe79 [2023-05-22T21:40:19.577Z] Removing intermediate container 36a58fbbfe79 [2023-05-22T21:40:19.577Z] ---> fd1fecdef027 [2023-05-22T21:40:19.577Z] Step 23/25 : LABEL arch=amd64 [2023-05-22T21:40:19.577Z] ---> Running in 70a5ed25c095 [2023-05-22T21:40:19.577Z] Removing intermediate container 70a5ed25c095 [2023-05-22T21:40:19.577Z] ---> 8da2bd9304c1 [2023-05-22T21:40:19.577Z] Step 24/25 : LABEL git_sha=b9c48caf18051205e53a4f46e0f602ec610cbd73 [2023-05-22T21:40:19.577Z] ---> Running in 4973620ec905 [2023-05-22T21:40:19.577Z] Removing intermediate container 4973620ec905 [2023-05-22T21:40:19.577Z] ---> 73a32857ddd4 [2023-05-22T21:40:19.577Z] Step 25/25 : LABEL version=0.0.0 [2023-05-22T21:40:19.577Z] ---> Running in 81a1cd34539b [2023-05-22T21:40:19.577Z] Removing intermediate container 81a1cd34539b [2023-05-22T21:40:19.577Z] ---> c39e99cdd07a [2023-05-22T21:40:19.577Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T21:40:19.577Z] Successfully built c39e99cdd07a [2023-05-22T21:40:19.577Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:40:19.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:40:19.997Z] [2023-05-22T21:40:19.997Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:40:20.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:40:20.296Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-22T21:40:20.296Z] 5eb5b503b376: Pulling fs layer [2023-05-22T21:40:20.296Z] 5c69ac0246d0: Pulling fs layer [2023-05-22T21:40:20.296Z] ec43610c2a17: Pulling fs layer [2023-05-22T21:40:20.296Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-22T21:40:20.296Z] 33b1e0a273af: Pulling fs layer [2023-05-22T21:40:20.296Z] 5d3b04190fa2: Pulling fs layer [2023-05-22T21:40:20.296Z] 2f39f015ded8: Pulling fs layer [2023-05-22T21:40:20.296Z] 33b1e0a273af: Waiting [2023-05-22T21:40:20.296Z] 5d3b04190fa2: Waiting [2023-05-22T21:40:20.296Z] 2f39f015ded8: Waiting [2023-05-22T21:40:20.296Z] 3a2ae6a8a46f: Waiting [2023-05-22T21:40:20.296Z] 5c69ac0246d0: Download complete [2023-05-22T21:40:20.296Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-22T21:40:20.296Z] 3a2ae6a8a46f: Download complete [2023-05-22T21:40:20.296Z] 33b1e0a273af: Verifying Checksum [2023-05-22T21:40:20.296Z] 33b1e0a273af: Download complete [2023-05-22T21:40:20.296Z] 5d3b04190fa2: Verifying Checksum [2023-05-22T21:40:20.296Z] 5d3b04190fa2: Download complete [2023-05-22T21:40:20.296Z] ec43610c2a17: Verifying Checksum [2023-05-22T21:40:20.296Z] ec43610c2a17: Download complete [2023-05-22T21:40:20.556Z] 5eb5b503b376: Verifying Checksum [2023-05-22T21:40:20.556Z] 5eb5b503b376: Download complete [2023-05-22T21:40:21.129Z] 2f39f015ded8: Download complete [2023-05-22T21:40:21.699Z] 5eb5b503b376: Pull complete [2023-05-22T21:40:21.699Z] 5c69ac0246d0: Pull complete [2023-05-22T21:40:22.267Z] ec43610c2a17: Pull complete [2023-05-22T21:40:22.267Z] 3a2ae6a8a46f: Pull complete [2023-05-22T21:40:22.267Z] 33b1e0a273af: Pull complete [2023-05-22T21:40:22.526Z] 5d3b04190fa2: Pull complete [2023-05-22T21:40:26.783Z] 2f39f015ded8: Pull complete [2023-05-22T21:40:26.783Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-22T21:40:26.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:40:26.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:40:26.873Z] prd-ubuntu20.04-docker-8c-8g-16373 does not seem to be running inside a container [2023-05-22T21:40:26.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T21:40:30.844Z] $ docker top 5a626b8861f668f455e3761d8b6d3d26539fb5ade9820856f976447be0d8c9f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-05-22T21:40:31.006Z] provisioning config files... [2023-05-22T21:40:31.044Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config12461138666802252694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:40:31.258Z] ---> job-cost.sh [2023-05-22T21:40:31.258Z] lf-activate-venv: SKIPPING [2023-05-22T21:40:31.258Z] INFO: No Stack... [2023-05-22T21:40:31.425Z] ---> docker-login.sh [2023-05-22T21:40:31.425Z] nexus3.edgexfoundry.org:10001 [2023-05-22T21:40:31.518Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T21:40:31.776Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T21:40:32.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:40:32.071Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv [2023-05-22T21:40:32.071Z] + cut -d, -f6 [Pipeline] lock [2023-05-22T21:40:32.086Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] [2023-05-22T21:40:32.092Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] did not exist. Created. [2023-05-22T21:40:32.092Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T21:40:32.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:40:32.304Z] Configure a credential helper to remove this warning. See [2023-05-22T21:40:32.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:40:32.304Z] [2023-05-22T21:40:32.304Z] Login Succeeded [2023-05-22T21:40:32.304Z] nexus3.edgexfoundry.org:10002 [2023-05-22T21:40:32.405Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-22T21:40:32.432Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T21:40:32.438Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T21:40:32.453Z] $ docker stop --time=1 5a626b8861f668f455e3761d8b6d3d26539fb5ade9820856f976447be0d8c9f9 [2023-05-22T21:40:32.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:40:32.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:40:32.579Z] Configure a credential helper to remove this warning. See [2023-05-22T21:40:32.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:40:32.579Z] [2023-05-22T21:40:32.579Z] Login Succeeded [2023-05-22T21:40:32.579Z] nexus3.edgexfoundry.org:10003 [2023-05-22T21:40:32.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:40:33.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:40:33.133Z] Configure a credential helper to remove this warning. See [2023-05-22T21:40:33.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:40:33.133Z] [2023-05-22T21:40:33.133Z] Login Succeeded [2023-05-22T21:40:33.133Z] nexus3.edgexfoundry.org:10004 [2023-05-22T21:40:33.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:40:33.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:40:33.407Z] Configure a credential helper to remove this warning. See [2023-05-22T21:40:33.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:40:33.407Z] [2023-05-22T21:40:33.407Z] Login Succeeded [2023-05-22T21:40:33.407Z] docker.io [2023-05-22T21:40:33.593Z] $ docker rm -f --volumes 5a626b8861f668f455e3761d8b6d3d26539fb5ade9820856f976447be0d8c9f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-22T21:40:33.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:40:33.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:40:33.952Z] Configure a credential helper to remove this warning. See [2023-05-22T21:40:33.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:40:33.952Z] [2023-05-22T21:40:33.952Z] Login Succeeded [2023-05-22T21:40:33.952Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T21:40:33.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T21:40:34.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T21:40:34.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T21:40:34.395Z] ========================================================= [2023-05-22T21:40:34.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-22T21:40:34.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:40:34.754Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-22T21:40:34.754Z] Sending build context to Docker daemon 139.3kB [2023-05-22T21:40:35.028Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:40:35.028Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-22T21:40:35.302Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-22T21:40:35.302Z] c41833b44d91: Pulling fs layer [2023-05-22T21:40:35.302Z] ed15518f5707: Pulling fs layer [2023-05-22T21:40:35.302Z] feae8fd75edb: Pulling fs layer [2023-05-22T21:40:35.302Z] 242c74f7c9fa: Pulling fs layer [2023-05-22T21:40:35.302Z] 3cdef696dda3: Pulling fs layer [2023-05-22T21:40:35.302Z] 2ced38df9373: Pulling fs layer [2023-05-22T21:40:35.302Z] 58f1dce35555: Pulling fs layer [2023-05-22T21:40:35.302Z] 3cdef696dda3: Waiting [2023-05-22T21:40:35.302Z] 2ced38df9373: Waiting [2023-05-22T21:40:35.302Z] 58f1dce35555: Waiting [2023-05-22T21:40:35.302Z] 242c74f7c9fa: Waiting [2023-05-22T21:40:35.302Z] ed15518f5707: Verifying Checksum [2023-05-22T21:40:35.302Z] ed15518f5707: Download complete [2023-05-22T21:40:35.302Z] 242c74f7c9fa: Verifying Checksum [2023-05-22T21:40:35.302Z] 242c74f7c9fa: Download complete [2023-05-22T21:40:35.302Z] 3cdef696dda3: Verifying Checksum [2023-05-22T21:40:35.302Z] 3cdef696dda3: Download complete [2023-05-22T21:40:35.302Z] c41833b44d91: Download complete [2023-05-22T21:40:36.761Z] c41833b44d91: Pull complete [2023-05-22T21:40:36.761Z] 58f1dce35555: Verifying Checksum [2023-05-22T21:40:36.761Z] 58f1dce35555: Download complete [2023-05-22T21:40:37.358Z] ed15518f5707: Pull complete [2023-05-22T21:40:38.338Z] feae8fd75edb: Verifying Checksum [2023-05-22T21:40:38.338Z] feae8fd75edb: Download complete [2023-05-22T21:40:38.338Z] 2ced38df9373: Verifying Checksum [2023-05-22T21:40:38.338Z] 2ced38df9373: Download complete [2023-05-22T21:40:50.724Z] feae8fd75edb: Pull complete [2023-05-22T21:40:50.724Z] 242c74f7c9fa: Pull complete [2023-05-22T21:40:50.724Z] 3cdef696dda3: Pull complete [2023-05-22T21:40:56.138Z] 2ced38df9373: Pull complete [2023-05-22T21:40:58.778Z] 58f1dce35555: Pull complete [2023-05-22T21:40:58.778Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-22T21:40:58.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-22T21:40:58.778Z] ---> fadd8f120f05 [2023-05-22T21:40:58.778Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:41:00.764Z] ---> Running in c74a5f587129 [2023-05-22T21:41:01.045Z] Removing intermediate container c74a5f587129 [2023-05-22T21:41:01.045Z] ---> ffcf9526cd16 [2023-05-22T21:41:01.045Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:41:01.322Z] ---> Running in 76213e73b137 [2023-05-22T21:41:01.604Z] Removing intermediate container 76213e73b137 [2023-05-22T21:41:01.604Z] ---> da9ab7af189d [2023-05-22T21:41:01.604Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:41:01.884Z] ---> Running in 09008999957f [2023-05-22T21:41:02.178Z] Removing intermediate container 09008999957f [2023-05-22T21:41:02.178Z] ---> a1abcb61efff [2023-05-22T21:41:02.178Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:41:02.452Z] ---> Running in d4fd1268e1a8 [2023-05-22T21:41:03.908Z] Removing intermediate container d4fd1268e1a8 [2023-05-22T21:41:03.908Z] ---> 9136e87a7511 [2023-05-22T21:41:03.908Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:41:03.908Z] ---> Running in 057fd3e2c152 [2023-05-22T21:41:05.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T21:41:05.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T21:41:07.400Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-22T21:41:07.400Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-22T21:41:07.400Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-22T21:41:07.677Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-22T21:41:07.677Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:41:07.677Z] OK: 268 MiB in 57 packages [2023-05-22T21:41:09.120Z] Removing intermediate container 057fd3e2c152 [2023-05-22T21:41:09.120Z] ---> d8e2cd6f0240 [2023-05-22T21:41:09.120Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-22T21:41:09.120Z] ---> Running in 8c61c967a950 [2023-05-22T21:41:09.120Z] Removing intermediate container 8c61c967a950 [2023-05-22T21:41:09.120Z] ---> 23b9f4c09d77 [2023-05-22T21:41:09.120Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-22T21:41:09.737Z] ---> a3c10aad5e12 [2023-05-22T21:41:09.737Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:41:10.011Z] ---> Running in f1c048e5b536 [2023-05-22T21:42:17.994Z] Removing intermediate container f1c048e5b536 [2023-05-22T21:42:17.994Z] ---> 64764d9a79d5 [2023-05-22T21:42:17.994Z] Step 11/12 : COPY . . [2023-05-22T21:42:17.994Z] ---> 5a7be2f91a3e [2023-05-22T21:42:17.994Z] Step 12/12 : RUN $MAKE [2023-05-22T21:42:17.994Z] ---> Running in e20a00aec6c0 [2023-05-22T21:42:17.994Z] noop [2023-05-22T21:42:18.265Z] Removing intermediate container e20a00aec6c0 [2023-05-22T21:42:18.265Z] ---> 611f8141a135 [2023-05-22T21:42:18.265Z] Successfully built 611f8141a135 [2023-05-22T21:42:18.537Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:42:18.952Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T21:42:18.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:42:19.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-16375 does not seem to be running inside a container [2023-05-22T21:42:19.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-22T21:42:20.550Z] $ docker top 6828c925c5eba10c28f3cd2d140ca45d3b9044af96a15ae5b0413c73c1f2b3e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:42:21.452Z] + go version [2023-05-22T21:42:21.452Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-22T21:42:21.473Z] $ docker stop --time=1 6828c925c5eba10c28f3cd2d140ca45d3b9044af96a15ae5b0413c73c1f2b3e0 [2023-05-22T21:42:23.141Z] $ docker rm -f --volumes 6828c925c5eba10c28f3cd2d140ca45d3b9044af96a15ae5b0413c73c1f2b3e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:42:23.727Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T21:42:23.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:42:23.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-16375 does not seem to be running inside a container [2023-05-22T21:42:24.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-22T21:42:25.413Z] $ docker top 6b13ac2712b87d3ada6aa104b16e8ce5312ace02cbac3a85b5bdc57c2154b053 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:42:26.341Z] + git config --global --add safe.directory /w/workspace/device-rest-go/8 [Pipeline] fileExists [Pipeline] sh [2023-05-22T21:42:27.016Z] + make test [2023-05-22T21:42:27.016Z] go test ./... -coverprofile=coverage.out ./... [2023-05-22T21:43:05.976Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-22T21:45:27.929Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-22T21:45:27.929Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 32.2% of statements [2023-05-22T21:45:27.929Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-22T21:45:27.929Z] go vet ./... [2023-05-22T21:45:50.052Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T21:45:50.052Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T21:45:50.052Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T21:45:50.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T21:45:50.083Z] $ docker stop --time=1 6b13ac2712b87d3ada6aa104b16e8ce5312ace02cbac3a85b5bdc57c2154b053 [2023-05-22T21:45:51.948Z] $ docker rm -f --volumes 6b13ac2712b87d3ada6aa104b16e8ce5312ace02cbac3a85b5bdc57c2154b053 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T21:45:53.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T21:45:53.240Z] Warning: overwriting stash ‘coverage-report’ [2023-05-22T21:45:53.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T21:45:54.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T21:45:54.567Z] + ls -al . [2023-05-22T21:45:54.567Z] total 180 [2023-05-22T21:45:54.567Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:42 . [2023-05-22T21:45:54.567Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:40 .. [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:40 .dockerignore [2023-05-22T21:45:54.567Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:40 .git [2023-05-22T21:45:54.567Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:40 .github [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:40 .gitignore [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:40 .golangci.yml [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:40 Attribution.txt [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:40 CHANGELOG.md [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:40 Dockerfile [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:40 GOVERNANCE.md [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:40 Jenkinsfile [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:40 LICENSE [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:40 Makefile [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:40 OWNERS.md [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:40 README.md [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:38 VERSION [2023-05-22T21:45:54.567Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:40 bin [2023-05-22T21:45:54.567Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:40 cmd [2023-05-22T21:45:54.567Z] -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:45 coverage.out [2023-05-22T21:45:54.567Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:40 driver [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:40 go.mod [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 22 21:40 go.sum [2023-05-22T21:45:54.567Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:40 snap [2023-05-22T21:45:54.567Z] -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:45:54.931Z] + 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=b9c48caf18051205e53a4f46e0f602ec610cbd73 --label arch=arm64 --label version=0.0.0 . [2023-05-22T21:45:54.931Z] Sending build context to Docker daemon 154.6kB [2023-05-22T21:45:55.200Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:45:55.200Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-22T21:45:55.200Z] ---> 611f8141a135 [2023-05-22T21:45:55.200Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:45:55.200Z] ---> Running in 5fbdf2bb905c [2023-05-22T21:45:55.469Z] Removing intermediate container 5fbdf2bb905c [2023-05-22T21:45:55.469Z] ---> c14dcc8448eb [2023-05-22T21:45:55.469Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:45:55.738Z] ---> Running in eafd740fce72 [2023-05-22T21:45:56.008Z] Removing intermediate container eafd740fce72 [2023-05-22T21:45:56.008Z] ---> ae6e32460dce [2023-05-22T21:45:56.008Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:45:56.008Z] ---> Running in 8c7efe6b1010 [2023-05-22T21:45:56.279Z] Removing intermediate container 8c7efe6b1010 [2023-05-22T21:45:56.279Z] ---> cb15ad92468a [2023-05-22T21:45:56.279Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:45:56.547Z] ---> Running in 83e1304e4edd [2023-05-22T21:45:56.818Z] Removing intermediate container 83e1304e4edd [2023-05-22T21:45:56.818Z] ---> 2a81d2df3b5c [2023-05-22T21:45:56.818Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:45:56.818Z] ---> Running in 6354f08e1235 [2023-05-22T21:45:57.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T21:45:58.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T21:45:59.729Z] OK: 268 MiB in 57 packages [2023-05-22T21:46:00.699Z] Removing intermediate container 6354f08e1235 [2023-05-22T21:46:00.699Z] ---> 789e35ed71e1 [2023-05-22T21:46:00.699Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-22T21:46:00.699Z] ---> Running in 0c89309a206a [2023-05-22T21:46:00.968Z] Removing intermediate container 0c89309a206a [2023-05-22T21:46:00.968Z] ---> 4306a5490bba [2023-05-22T21:46:00.968Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-22T21:46:01.554Z] ---> f33a81c65705 [2023-05-22T21:46:01.554Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:46:01.554Z] ---> Running in f2f97bd61b51 [2023-05-22T21:46:04.153Z] Removing intermediate container f2f97bd61b51 [2023-05-22T21:46:04.153Z] ---> b563b248a62c [2023-05-22T21:46:04.153Z] Step 11/25 : COPY . . [2023-05-22T21:46:04.740Z] ---> 8b8efea71b89 [2023-05-22T21:46:04.740Z] Step 12/25 : RUN $MAKE [2023-05-22T21:46:05.010Z] ---> Running in 48273733afd1 [2023-05-22T21:46:05.977Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-22T21:48:42.762Z] Removing intermediate container 48273733afd1 [2023-05-22T21:48:42.762Z] ---> 166d0eb952bf [2023-05-22T21:48:42.762Z] Step 13/25 : FROM alpine:3.17 [2023-05-22T21:48:42.762Z] 3.17: Pulling from library/alpine [2023-05-22T21:48:42.762Z] c41833b44d91: Already exists [2023-05-22T21:48:42.762Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T21:48:42.762Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T21:48:42.762Z] ---> 51e60588ff2c [2023-05-22T21:48:42.762Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-22T21:48:42.762Z] ---> Running in 79395074f097 [2023-05-22T21:48:42.762Z] Removing intermediate container 79395074f097 [2023-05-22T21:48:42.762Z] ---> 03243226a90f [2023-05-22T21:48:42.762Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-22T21:48:42.762Z] ---> Running in 61bc0d35e2b7 [2023-05-22T21:48:42.762Z] Removing intermediate container 61bc0d35e2b7 [2023-05-22T21:48:42.762Z] ---> 766366dc9815 [2023-05-22T21:48:42.762Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-22T21:48:42.762Z] ---> Running in 40a6f428cfeb [2023-05-22T21:48:42.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T21:48:42.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T21:48:42.762Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-22T21:48:42.762Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:48:42.762Z] OK: 8 MiB in 16 packages [2023-05-22T21:48:42.762Z] Removing intermediate container 40a6f428cfeb [2023-05-22T21:48:42.762Z] ---> 7829255b2e86 [2023-05-22T21:48:42.762Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-22T21:48:42.762Z] ---> ae3e7bc75226 [2023-05-22T21:48:42.762Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-22T21:48:42.762Z] ---> 8ac47f589bd7 [2023-05-22T21:48:42.762Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-22T21:48:42.762Z] ---> ffe5b4da9290 [2023-05-22T21:48:42.762Z] Step 20/25 : EXPOSE 59986 [2023-05-22T21:48:42.762Z] ---> Running in 6dddd52e5288 [2023-05-22T21:48:42.762Z] Removing intermediate container 6dddd52e5288 [2023-05-22T21:48:42.762Z] ---> d579f06b9cf9 [2023-05-22T21:48:42.762Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-22T21:48:42.762Z] ---> Running in 6ad64e64d7a7 [2023-05-22T21:48:42.762Z] Removing intermediate container 6ad64e64d7a7 [2023-05-22T21:48:42.762Z] ---> 1f4d7197bfd7 [2023-05-22T21:48:42.762Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-22T21:48:42.762Z] ---> Running in 02ebea18979e [2023-05-22T21:48:42.762Z] Removing intermediate container 02ebea18979e [2023-05-22T21:48:42.762Z] ---> 684e0785b6ca [2023-05-22T21:48:42.762Z] Step 23/25 : LABEL arch=arm64 [2023-05-22T21:48:42.762Z] ---> Running in da7622719d61 [2023-05-22T21:48:42.762Z] Removing intermediate container da7622719d61 [2023-05-22T21:48:42.762Z] ---> b25849b43c53 [2023-05-22T21:48:42.762Z] Step 24/25 : LABEL git_sha=b9c48caf18051205e53a4f46e0f602ec610cbd73 [2023-05-22T21:48:42.762Z] ---> Running in 6e24cbe33c30 [2023-05-22T21:48:42.762Z] Removing intermediate container 6e24cbe33c30 [2023-05-22T21:48:42.762Z] ---> 482eaa7ceeab [2023-05-22T21:48:42.762Z] Step 25/25 : LABEL version=0.0.0 [2023-05-22T21:48:42.762Z] ---> Running in c075d89f32a4 [2023-05-22T21:48:42.762Z] Removing intermediate container c075d89f32a4 [2023-05-22T21:48:42.762Z] ---> e34ff8b97695 [2023-05-22T21:48:42.762Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T21:48:42.762Z] Successfully built e34ff8b97695 [2023-05-22T21:48:42.762Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:48:43.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T21:48:43.212Z] [2023-05-22T21:48:43.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:48:43.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T21:48:43.835Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-22T21:48:43.835Z] 8998bd30e6a1: Pulling fs layer [2023-05-22T21:48:43.835Z] 04944245beec: Pulling fs layer [2023-05-22T21:48:43.835Z] 699f458cf7ca: Pulling fs layer [2023-05-22T21:48:43.835Z] 765212b225bb: Pulling fs layer [2023-05-22T21:48:43.835Z] f23df028b6ca: Pulling fs layer [2023-05-22T21:48:43.835Z] d65c8cfc05b1: Pulling fs layer [2023-05-22T21:48:43.835Z] 2437ff75d9bd: Pulling fs layer [2023-05-22T21:48:43.835Z] f23df028b6ca: Waiting [2023-05-22T21:48:43.835Z] d65c8cfc05b1: Waiting [2023-05-22T21:48:43.835Z] 2437ff75d9bd: Waiting [2023-05-22T21:48:43.835Z] 765212b225bb: Waiting [2023-05-22T21:48:43.835Z] 04944245beec: Verifying Checksum [2023-05-22T21:48:43.835Z] 04944245beec: Download complete [2023-05-22T21:48:43.835Z] 765212b225bb: Verifying Checksum [2023-05-22T21:48:43.835Z] 765212b225bb: Download complete [2023-05-22T21:48:43.835Z] f23df028b6ca: Verifying Checksum [2023-05-22T21:48:43.835Z] f23df028b6ca: Download complete [2023-05-22T21:48:43.835Z] d65c8cfc05b1: Verifying Checksum [2023-05-22T21:48:43.835Z] d65c8cfc05b1: Download complete [2023-05-22T21:48:44.110Z] 699f458cf7ca: Download complete [2023-05-22T21:48:44.380Z] 8998bd30e6a1: Verifying Checksum [2023-05-22T21:48:44.380Z] 8998bd30e6a1: Download complete [2023-05-22T21:48:46.972Z] 2437ff75d9bd: Verifying Checksum [2023-05-22T21:48:46.972Z] 2437ff75d9bd: Download complete [2023-05-22T21:48:48.926Z] 8998bd30e6a1: Pull complete [2023-05-22T21:48:49.199Z] 04944245beec: Pull complete [2023-05-22T21:48:50.614Z] 699f458cf7ca: Pull complete [2023-05-22T21:48:50.884Z] 765212b225bb: Pull complete [2023-05-22T21:48:51.849Z] f23df028b6ca: Pull complete [2023-05-22T21:48:51.849Z] d65c8cfc05b1: Pull complete [2023-05-22T21:49:06.857Z] 2437ff75d9bd: Pull complete [2023-05-22T21:49:06.857Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-22T21:49:06.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T21:49:06.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:49:07.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-16375 does not seem to be running inside a container [2023-05-22T21:49:07.136Z] $ 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/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-22T21:49:10.021Z] $ docker top 8e2faf9f53c7f7fd79a044298d356e14efff6d54965a1ad79580586a0435edd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:10.884Z] ---> job-cost.sh [2023-05-22T21:49:10.884Z] lf-activate-venv: SKIPPING [2023-05-22T21:49:10.884Z] INFO: No Stack... [2023-05-22T21:49:11.471Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-22T21:49:12.438Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T21:49:13.090Z] + cat /w/workspace/device-rest-go/8/archives/cost.csv [2023-05-22T21:49:13.090Z] + cut -d, -f6 [Pipeline] lock [2023-05-22T21:49:13.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] [2023-05-22T21:49:13.143Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] did not exist. Created. [2023-05-22T21:49:13.144Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T21:49:13.811Z] /w/workspace/device-rest-go/8@tmp/durable-5273738f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-22T21:49:14.477Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-22T21:49:14.493Z] Warning: overwriting stash ‘stack-cost’ [2023-05-22T21:49:14.546Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T21:49:14.560Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T21:49:14.633Z] $ docker stop --time=1 8e2faf9f53c7f7fd79a044298d356e14efff6d54965a1ad79580586a0435edd0 [2023-05-22T21:49:16.238Z] $ docker rm -f --volumes 8e2faf9f53c7f7fd79a044298d356e14efff6d54965a1ad79580586a0435edd0 [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 [2023-05-22T21:49:16.602Z] provisioning config files... [2023-05-22T21:49:16.609Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config10296950477714583245tmp [Pipeline] { [Pipeline] sh [2023-05-22T21:49:16.914Z] + set +x [2023-05-22T21:49:16.914Z] + curl -s https://codecov.io/bash [2023-05-22T21:49:16.914Z] + bash -s -- [2023-05-22T21:49:16.914Z] [2023-05-22T21:49:16.914Z] _____ _ [2023-05-22T21:49:16.914Z] / ____| | | [2023-05-22T21:49:16.914Z] | | ___ __| | ___ ___ _____ __ [2023-05-22T21:49:16.914Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-22T21:49:16.914Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-22T21:49:16.914Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-22T21:49:16.914Z] Bash-1.0.6 [2023-05-22T21:49:16.914Z] [2023-05-22T21:49:16.914Z] [2023-05-22T21:49:16.914Z] ==> git version 2.25.1 found [2023-05-22T21:49:16.914Z] ==> 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 [2023-05-22T21:49:16.914Z] Release-Date: 2020-01-08 [2023-05-22T21:49:16.914Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-22T21:49:16.914Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-22T21:49:16.914Z] ==> Jenkins CI detected. [2023-05-22T21:49:16.914Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-22T21:49:16.914Z] project root: . [2023-05-22T21:49:16.914Z] --> token set from env [2023-05-22T21:49:16.914Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-22T21:49:16.914Z] ==> Running gcov in . (disable via -X gcov) [2023-05-22T21:49:16.914Z] ==> Python coveragepy not found [2023-05-22T21:49:16.914Z] ==> Searching for coverage reports in: [2023-05-22T21:49:16.914Z] + . [2023-05-22T21:49:16.914Z] -> Found 1 reports [2023-05-22T21:49:16.914Z] ==> Detecting git/mercurial file structure [2023-05-22T21:49:16.914Z] ==> Reading reports [2023-05-22T21:49:16.914Z] + ./coverage.out bytes=14663 [2023-05-22T21:49:16.914Z] ==> Appending adjustments [2023-05-22T21:49:16.914Z] https://docs.codecov.io/docs/fixing-reports [2023-05-22T21:49:17.175Z] + Found adjustments [2023-05-22T21:49:17.175Z] ==> Gzipping contents [2023-05-22T21:49:17.175Z] 4.0K /tmp/codecov.RUtnMK.gz [2023-05-22T21:49:17.175Z] ==> Uploading reports [2023-05-22T21:49:17.175Z] url: https://codecov.io [2023-05-22T21:49:17.175Z] query: branch=PR-318&commit=b9c48caf18051205e53a4f46e0f602ec610cbd73&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-22T21:49:17.175Z] -> Pinging Codecov [2023-05-22T21:49:17.175Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=b9c48caf18051205e53a4f46e0f602ec610cbd73&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-22T21:49:17.175Z] -> Uploading to [2023-05-22T21:49:17.175Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-22/4E5D53B4F1F92C436F7061BF334D961C/b9c48caf18051205e53a4f46e0f602ec610cbd73/95567aa2-04c8-4c07-bd04-8678e6b8b1cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T214917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3b196b681c6ec435e74fd2bfb9a5346c672274a6e088c8ce000059a41760e2a [2023-05-22T21:49:17.175Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T21:49:17.175Z] Dload Upload Total Spent Left Speed [2023-05-22T21:49:17.436Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12741 --:--:-- --:--:-- --:--:-- 12741 [2023-05-22T21:49:17.436Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b9c48caf18051205e53a4f46e0f602ec610cbd73 [Pipeline] } [2023-05-22T21:49:17.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-22T21:49:18.124Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] [2023-05-22T21:49:18.124Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-22T21:49:18.124Z] total 16 [2023-05-22T21:49:18.124Z] drwxr-xr-x 3 root root 4096 May 22 21:40 . [2023-05-22T21:49:18.124Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:40 .. [2023-05-22T21:49:18.124Z] drwxr-xr-x 2 root root 4096 May 22 21:40 cost [2023-05-22T21:49:18.124Z] -rw-r--r-- 1 root root 86 May 22 21:40 cost.csv [2023-05-22T21:49:18.124Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-22T21:49:18.124Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-22T21:49:18.124Z] total 16 [2023-05-22T21:49:18.124Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:40 . [2023-05-22T21:49:18.124Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:40 .. [2023-05-22T21:49:18.124Z] drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:40 cost [2023-05-22T21:49:18.124Z] -rw-r--r-- 1 jenkins jenkins 86 May 22 21:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:18.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:19.281Z] ---> package-listing.sh [2023-05-22T21:49:19.281Z] ++ facter osfamily [2023-05-22T21:49:19.281Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-22T21:49:19.540Z] + OS_FAMILY=debian [2023-05-22T21:49:19.540Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-22T21:49:19.540Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-22T21:49:19.540Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-22T21:49:19.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-22T21:49:19.540Z] + PACKAGES=/tmp/packages_start.txt [2023-05-22T21:49:19.540Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-22T21:49:19.540Z] + PACKAGES=/tmp/packages_end.txt [2023-05-22T21:49:19.540Z] + case "${OS_FAMILY}" in [2023-05-22T21:49:19.540Z] + dpkg -l [2023-05-22T21:49:19.540Z] + grep '^ii' [2023-05-22T21:49:19.540Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-22T21:49:19.540Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-22T21:49:19.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-22T21:49:19.540Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-22T21:49:19.540Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [2023-05-22T21:49:19.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo [2023-05-22T21:49:19.550Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-22T21:49:19.827Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:49:20.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:49:20.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:49:20.480Z] prd-ubuntu20.04-docker-8c-8g-16373 does not seem to be running inside a container [2023-05-22T21:49:20.505Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T21:49:20.704Z] $ docker top 46e368faf45dcaa02e4436bf708d39f4a0a15a35f2eda2277a197d08bc392597 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:49:21.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-22T21:49:21.334Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-22T21:49:21.617Z] + ls /var/log/sa-host [2023-05-22T21:49:21.617Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T21:49:21.684Z] provisioning config files... [2023-05-22T21:49:21.691Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config4112890160215128522tmp [Pipeline] { [Pipeline] echo [2023-05-22T21:49:21.710Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:21.993Z] ---> create-netrc.sh [Pipeline] } [2023-05-22T21:49:22.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:22.322Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-22T21:49:22.331Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:22.614Z] ---> sudo-logs.sh [2023-05-22T21:49:22.614Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-22T21:49:22.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:22.917Z] ---> job-cost.sh [2023-05-22T21:49:22.917Z] lf-activate-venv: SKIPPING [2023-05-22T21:49:22.917Z] DEBUG: total: 0.2199999988079071 [2023-05-22T21:49:22.917Z] INFO: Retrieving Stack Cost... [2023-05-22T21:49:23.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T21:49:23.754Z] INFO: Archiving Costs [Pipeline] echo [2023-05-22T21:49:23.767Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:49:24.049Z] ---> logs-deploy.sh [2023-05-22T21:49:24.049Z] lf-activate-venv: SKIPPING [2023-05-22T21:49:24.049Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/8 [2023-05-22T21:49:24.049Z] INFO: archiving workspace using pattern(s): [2023-05-22T21:49:24.985Z] Archives upload complete. [2023-05-22T21:49:24.985Z] INFO: archiving logs to Nexus