Pull request #323 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebcc86debcd0477a29edf168e49a254c0e252b34+b9b57828cb91c1ed80a64c0f12d73d3d38017d14 (90c7cb8b2be56c9c580a2d2c5f089cb0702a6f18) 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-ssh11605243679917134460.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-ssh14175843873906646252.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14917402715065520445.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11487218429695067984.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12853552575617666535.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14684208363177563869.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16352 in /w/workspace/gexfoundry_device-rest-go_PR-323 [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-323 # 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 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 into PR head commit ebcc86debcd0477a29edf168e49a254c0e252b34 Merge succeeded, producing ebcc86debcd0477a29edf168e49a254c0e252b34 Checking out Revision ebcc86debcd0477a29edf168e49a254c0e252b34 (PR-323) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebcc86debcd0477a29edf168e49a254c0e252b34 # 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 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebcc86debcd0477a29edf168e49a254c0e252b34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-22T20:58:43.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-22T20:58:43.354Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-22T20:58:43.460Z] ========================================================= [2023-05-22T20:58:43.460Z] EdgeX Global Pipelines Version Info [2023-05-22T20:58:43.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-22T20:58:44.221Z] ------------------- [2023-05-22T20:58:44.221Z] stable info: [2023-05-22T20:58:44.221Z] ------------------- [2023-05-22T20:58:44.221Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-22T20:58:44.221Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T20:58:44.221Z] Message: update stable to v1.0.249 [2023-05-22T20:58:44.793Z] ------------------- [2023-05-22T20:58:44.793Z] experimental info: [2023-05-22T20:58:44.793Z] ------------------- [2023-05-22T20:58:44.793Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-22T20:58:44.793Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T20:58:44.793Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-22T20:58:45.082Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-22T20:58:45.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-22T20:58:45.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-22T20:58:45.212Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-22T20:58:45.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-22T20:58:45.306Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-22T20:58:45.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-22T20:58:45.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-22T20:58:45.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-22T20:58:45.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-22T20:58:45.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-22T20:58:45.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-22T20:58:45.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-22T20:58:45.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-22T20:58:45.718Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T20:58:45.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T20:58:45.824Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T20:58:45.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T20:58:45.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-22T20:58:45.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-22T20:58:46.015Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-22T20:58:46.062Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-22T20:58:46.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-22T20:58:46.159Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-22T20:58:46.207Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-22T20:58:46.254Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-22T20:58:46.302Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-22T20:58:46.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo [2023-05-22T20:58:46.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo [2023-05-22T20:58:46.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo [2023-05-22T20:58:46.490Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebcc86debcd0477a29edf168e49a254c0e252b34 [Pipeline] echo [2023-05-22T20:58:46.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebcc86d [Pipeline] echo [2023-05-22T20:58:46.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T20:58:46.704Z] provisioning config files... [2023-05-22T20:58:46.746Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp/config16900341880610538874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T20:58:47.090Z] ---> docker-login.sh [2023-05-22T20:58:47.090Z] nexus3.edgexfoundry.org:10001 [2023-05-22T20:58:47.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:58:47.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:58:47.351Z] Configure a credential helper to remove this warning. See [2023-05-22T20:58:47.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:58:47.351Z] [2023-05-22T20:58:47.351Z] Login Succeeded [2023-05-22T20:58:47.351Z] nexus3.edgexfoundry.org:10002 [2023-05-22T20:58:47.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:58:47.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:58:47.612Z] Configure a credential helper to remove this warning. See [2023-05-22T20:58:47.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:58:47.612Z] [2023-05-22T20:58:47.612Z] Login Succeeded [2023-05-22T20:58:47.612Z] nexus3.edgexfoundry.org:10003 [2023-05-22T20:58:47.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:58:47.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:58:47.612Z] Configure a credential helper to remove this warning. See [2023-05-22T20:58:47.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:58:47.612Z] [2023-05-22T20:58:47.612Z] Login Succeeded [2023-05-22T20:58:47.612Z] nexus3.edgexfoundry.org:10004 [2023-05-22T20:58:47.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:58:47.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:58:47.873Z] Configure a credential helper to remove this warning. See [2023-05-22T20:58:47.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:58:47.873Z] [2023-05-22T20:58:47.873Z] Login Succeeded [2023-05-22T20:58:47.873Z] docker.io [2023-05-22T20:58:47.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:58:48.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:58:48.134Z] Configure a credential helper to remove this warning. See [2023-05-22T20:58:48.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:58:48.134Z] [2023-05-22T20:58:48.134Z] Login Succeeded [2023-05-22T20:58:48.134Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T20:58:48.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-22T20:58:48.803Z] + git rev-list -1 --merges ebcc86debcd0477a29edf168e49a254c0e252b34~1..ebcc86debcd0477a29edf168e49a254c0e252b34 [Pipeline] echo [2023-05-22T20:58:48.863Z] -----------> git rev-list -1 --merges ebcc86debcd0477a29edf168e49a254c0e252b34~1..ebcc86debcd0477a29edf168e49a254c0e252b34 ebcc86debcd0477a29edf168e49a254c0e252b34 [false] [Pipeline] sh [2023-05-22T20:58:49.170Z] + git log --format=format:%s -1 ebcc86debcd0477a29edf168e49a254c0e252b34 [Pipeline] echo [2023-05-22T20:58:49.207Z] ========================================================= [2023-05-22T20:58:49.207Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-22T20:58:49.207Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T20:58:49.650Z] + git log --format=format:%s -1 ebcc86debcd0477a29edf168e49a254c0e252b34 [Pipeline] echo [2023-05-22T20:58:49.683Z] [semverPrep] GIT_COMMIT: ebcc86debcd0477a29edf168e49a254c0e252b34, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-22T20:58:49.717Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-22T20:58:50.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-22T20:58:50.130Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-22T20:58:50.130Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-22T20:58:50.130Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-22T20:58:50.130Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-22T20:58:50.130Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-22T20:58:50.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T20:58:50.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T20:58:50.564Z] [2023-05-22T20:58:50.564Z] 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-22T20:58:50.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T20:58:50.943Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-22T20:58:50.943Z] b85a868b505f: Pulling fs layer [2023-05-22T20:58:50.943Z] e2be974225ed: Pulling fs layer [2023-05-22T20:58:50.943Z] 339a4e72a1f5: Pulling fs layer [2023-05-22T20:58:50.943Z] 988bab9f4d93: Pulling fs layer [2023-05-22T20:58:50.943Z] 1469e6f7b9e6: Pulling fs layer [2023-05-22T20:58:50.943Z] eaf3925da568: Pulling fs layer [2023-05-22T20:58:50.943Z] bab4dde63d76: Pulling fs layer [2023-05-22T20:58:50.943Z] bde34c3a00c8: Pulling fs layer [2023-05-22T20:58:50.943Z] b352a97aabf1: Pulling fs layer [2023-05-22T20:58:50.943Z] 4872d77fe225: Pulling fs layer [2023-05-22T20:58:50.943Z] 5851b861e8e6: Pulling fs layer [2023-05-22T20:58:50.943Z] eaf3925da568: Waiting [2023-05-22T20:58:50.943Z] 988bab9f4d93: Waiting [2023-05-22T20:58:50.943Z] bab4dde63d76: Waiting [2023-05-22T20:58:50.943Z] bde34c3a00c8: Waiting [2023-05-22T20:58:50.943Z] 1469e6f7b9e6: Waiting [2023-05-22T20:58:50.943Z] b352a97aabf1: Waiting [2023-05-22T20:58:50.943Z] 4872d77fe225: Waiting [2023-05-22T20:58:50.943Z] 5851b861e8e6: Waiting [2023-05-22T20:58:50.943Z] e2be974225ed: Verifying Checksum [2023-05-22T20:58:50.943Z] e2be974225ed: Download complete [2023-05-22T20:58:50.943Z] 988bab9f4d93: Verifying Checksum [2023-05-22T20:58:50.943Z] 988bab9f4d93: Download complete [2023-05-22T20:58:51.204Z] 1469e6f7b9e6: Verifying Checksum [2023-05-22T20:58:51.204Z] 1469e6f7b9e6: Download complete [2023-05-22T20:58:51.204Z] 339a4e72a1f5: Verifying Checksum [2023-05-22T20:58:51.204Z] 339a4e72a1f5: Download complete [2023-05-22T20:58:51.204Z] eaf3925da568: Verifying Checksum [2023-05-22T20:58:51.204Z] eaf3925da568: Download complete [2023-05-22T20:58:51.204Z] bde34c3a00c8: Verifying Checksum [2023-05-22T20:58:51.204Z] bde34c3a00c8: Download complete [2023-05-22T20:58:51.204Z] b352a97aabf1: Download complete [2023-05-22T20:58:51.204Z] 4872d77fe225: Download complete [2023-05-22T20:58:51.204Z] 5851b861e8e6: Verifying Checksum [2023-05-22T20:58:51.204Z] 5851b861e8e6: Download complete [2023-05-22T20:58:51.204Z] b85a868b505f: Verifying Checksum [2023-05-22T20:58:51.204Z] b85a868b505f: Download complete [2023-05-22T20:58:51.466Z] bab4dde63d76: Verifying Checksum [2023-05-22T20:58:51.466Z] bab4dde63d76: Download complete [2023-05-22T20:58:52.431Z] b85a868b505f: Pull complete [2023-05-22T20:58:52.691Z] e2be974225ed: Pull complete [2023-05-22T20:58:53.261Z] 339a4e72a1f5: Pull complete [2023-05-22T20:58:53.261Z] 988bab9f4d93: Pull complete [2023-05-22T20:58:53.521Z] 1469e6f7b9e6: Pull complete [2023-05-22T20:58:53.521Z] eaf3925da568: Pull complete [2023-05-22T20:58:55.425Z] bab4dde63d76: Pull complete [2023-05-22T20:58:55.425Z] bde34c3a00c8: Pull complete [2023-05-22T20:58:55.425Z] b352a97aabf1: Pull complete [2023-05-22T20:58:55.693Z] 4872d77fe225: Pull complete [2023-05-22T20:58:55.693Z] 5851b861e8e6: Pull complete [2023-05-22T20:58:55.693Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-22T20:58:55.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T20:58:55.693Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T20:58:55.922Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2023-05-22T20:58:55.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-323 -v /w/workspace/gexfoundry_device-rest-go_PR-323:/w/workspace/gexfoundry_device-rest-go_PR-323:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-323@tmp:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-22T20:58:58.334Z] $ docker top 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 -eo pid,comm [2023-05-22T20:58:58.400Z] 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-22T20:58:58.400Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-22T20:58:58.536Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T20:58:58.537Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T20:58:58.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T20:58:58.654Z] $ docker exec 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 ssh-agent [2023-05-22T20:58:58.768Z] SSH_AUTH_SOCK=/tmp/ssh-B7fIeuZtKoxp/agent.33 [2023-05-22T20:58:58.768Z] SSH_AGENT_PID=39 [2023-05-22T20:58:58.777Z] Running ssh-add (command line suppressed) [2023-05-22T20:58:58.888Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-323@tmp/private_key_15699192668268982185.key (/w/workspace/gexfoundry_device-rest-go_PR-323@tmp/private_key_15699192668268982185.key) [2023-05-22T20:58:58.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T20:58:59.252Z] + git tag --points-at HEAD [Pipeline] } [2023-05-22T20:58:59.285Z] $ docker exec --env ******** --env ******** 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 ssh-agent -k [2023-05-22T20:58:59.394Z] unset SSH_AUTH_SOCK; [2023-05-22T20:58:59.395Z] unset SSH_AGENT_PID; [2023-05-22T20:58:59.395Z] echo Agent pid 39 killed; [2023-05-22T20:58:59.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-22T20:58:59.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T20:58:59.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T20:58:59.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T20:58:59.622Z] $ docker exec 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 ssh-agent [2023-05-22T20:58:59.728Z] SSH_AUTH_SOCK=/tmp/ssh-cPoH6r1psLFS/agent.71 [2023-05-22T20:58:59.728Z] SSH_AGENT_PID=77 [2023-05-22T20:58:59.733Z] Running ssh-add (command line suppressed) [2023-05-22T20:58:59.862Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-323@tmp/private_key_2777842121687606400.key (/w/workspace/gexfoundry_device-rest-go_PR-323@tmp/private_key_2777842121687606400.key) [2023-05-22T20:58:59.876Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T20:59:00.215Z] + git semver init [2023-05-22T20:59:00.475Z] 2023-05-22 20:59:00,428 [run_init] DEBUG init version:0.0.0 force:False [2023-05-22T20:59:00.475Z] 2023-05-22 20:59:00,429 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-323/.semver [2023-05-22T20:59:00.475Z] 2023-05-22 20:59:00,430 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-323/.semver [2023-05-22T20:59:00.475Z] 2023-05-22 20:59:00,430 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-323/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-323, universal_newlines=False, shell=None, istream=None) [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,492 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-323/.git/info/exclude [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-323/.semver/PR-323 with force:False [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,493 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-323/.semver/PR-323 [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,497 [execute] INFO git cat-file --batch-check [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,504 [execute] INFO git cat-file --batch [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T20:59:01.862Z] 2023-05-22 20:59:01,510 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-323/.semver/PR-323 [2023-05-22T20:59:01.862Z] 0.0.0 [Pipeline] } [2023-05-22T20:59:01.890Z] $ docker exec --env ******** --env ******** 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 ssh-agent -k [2023-05-22T20:59:01.997Z] unset SSH_AUTH_SOCK; [2023-05-22T20:59:01.997Z] unset SSH_AGENT_PID; [2023-05-22T20:59:01.998Z] echo Agent pid 77 killed; [2023-05-22T20:59:02.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-22T20:59:02.448Z] + git semver [Pipeline] } [2023-05-22T20:59:02.737Z] $ docker stop --time=1 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 [2023-05-22T20:59:04.003Z] $ docker rm -f --volumes 366eab20bef3a524fabcb381670992c61e986b883153322df25d4b99ae8f45a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T20:59:04.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-22T20:59:04.746Z] Stashed 1 file(s) [Pipeline] echo [2023-05-22T20:59:04.764Z] [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-22T20:59:05.373Z] provisioning config files... [2023-05-22T20:59:05.383Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp/config11054593664595048505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T20:59:05.737Z] ---> docker-login.sh [2023-05-22T20:59:05.737Z] nexus3.edgexfoundry.org:10001 [2023-05-22T20:59:05.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:59:05.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:59:05.737Z] Configure a credential helper to remove this warning. See [2023-05-22T20:59:05.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:59:05.737Z] [2023-05-22T20:59:05.737Z] Login Succeeded [2023-05-22T20:59:05.737Z] nexus3.edgexfoundry.org:10002 [2023-05-22T20:59:05.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:59:05.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:59:05.737Z] Configure a credential helper to remove this warning. See [2023-05-22T20:59:05.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:59:05.737Z] [2023-05-22T20:59:05.737Z] Login Succeeded [2023-05-22T20:59:05.737Z] nexus3.edgexfoundry.org:10003 [2023-05-22T20:59:05.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:59:05.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:59:05.998Z] Configure a credential helper to remove this warning. See [2023-05-22T20:59:05.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:59:05.998Z] [2023-05-22T20:59:05.998Z] Login Succeeded [2023-05-22T20:59:05.998Z] nexus3.edgexfoundry.org:10004 [2023-05-22T20:59:05.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:59:05.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:59:05.998Z] Configure a credential helper to remove this warning. See [2023-05-22T20:59:05.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:59:05.998Z] [2023-05-22T20:59:05.998Z] Login Succeeded [2023-05-22T20:59:05.998Z] docker.io [2023-05-22T20:59:06.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T20:59:06.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T20:59:06.258Z] Configure a credential helper to remove this warning. See [2023-05-22T20:59:06.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T20:59:06.258Z] [2023-05-22T20:59:06.258Z] Login Succeeded [2023-05-22T20:59:06.258Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T20:59:06.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T20:59:06.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T20:59:06.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T20:59:06.577Z] ========================================================= [2023-05-22T20:59:06.577Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-22T20:59:06.577Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T20:59:07.063Z] + 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-22T20:59:07.064Z] Sending build context to Docker daemon 10.93MB [2023-05-22T20:59:07.064Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T20:59:07.064Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-22T20:59:07.064Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-22T20:59:07.064Z] f56be85fc22e: Pulling fs layer [2023-05-22T20:59:07.064Z] 85791d961cd3: Pulling fs layer [2023-05-22T20:59:07.064Z] d694b5ae8c79: Pulling fs layer [2023-05-22T20:59:07.064Z] 9f32a84ed3da: Pulling fs layer [2023-05-22T20:59:07.064Z] 4d19c01a9841: Pulling fs layer [2023-05-22T20:59:07.064Z] 9f32a84ed3da: Waiting [2023-05-22T20:59:07.064Z] 9325e15d5711: Pulling fs layer [2023-05-22T20:59:07.064Z] 556b6ee489ea: Pulling fs layer [2023-05-22T20:59:07.064Z] c5a4b2cf53e6: Pulling fs layer [2023-05-22T20:59:07.064Z] 9325e15d5711: Waiting [2023-05-22T20:59:07.064Z] 85791d961cd3: Verifying Checksum [2023-05-22T20:59:07.064Z] 85791d961cd3: Download complete [2023-05-22T20:59:07.064Z] 9f32a84ed3da: Verifying Checksum [2023-05-22T20:59:07.064Z] 9f32a84ed3da: Download complete [2023-05-22T20:59:07.322Z] 4d19c01a9841: Verifying Checksum [2023-05-22T20:59:07.322Z] 4d19c01a9841: Download complete [2023-05-22T20:59:07.322Z] f56be85fc22e: Verifying Checksum [2023-05-22T20:59:07.323Z] f56be85fc22e: Download complete [2023-05-22T20:59:07.323Z] 9325e15d5711: Verifying Checksum [2023-05-22T20:59:07.323Z] 9325e15d5711: Download complete [2023-05-22T20:59:07.323Z] f56be85fc22e: Pull complete [2023-05-22T20:59:07.582Z] 85791d961cd3: Pull complete [2023-05-22T20:59:07.841Z] d694b5ae8c79: Verifying Checksum [2023-05-22T20:59:07.841Z] d694b5ae8c79: Download complete [2023-05-22T20:59:07.841Z] c5a4b2cf53e6: Download complete [2023-05-22T20:59:08.100Z] 556b6ee489ea: Verifying Checksum [2023-05-22T20:59:08.100Z] 556b6ee489ea: Download complete [2023-05-22T20:59:11.382Z] d694b5ae8c79: Pull complete [2023-05-22T20:59:11.382Z] 9f32a84ed3da: Pull complete [2023-05-22T20:59:11.382Z] 4d19c01a9841: Pull complete [2023-05-22T20:59:11.382Z] 9325e15d5711: Pull complete [2023-05-22T20:59:13.913Z] 556b6ee489ea: Pull complete [2023-05-22T20:59:14.848Z] c5a4b2cf53e6: Pull complete [2023-05-22T20:59:14.848Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-22T20:59:14.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-22T20:59:14.848Z] ---> c4be618373d6 [2023-05-22T20:59:14.848Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-22T20:59:19.052Z] ---> Running in 7deed4bb9e64 [2023-05-22T20:59:19.052Z] Removing intermediate container 7deed4bb9e64 [2023-05-22T20:59:19.052Z] ---> 95be068c23b1 [2023-05-22T20:59:19.052Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T20:59:19.052Z] ---> Running in fb581dc6774e [2023-05-22T20:59:19.052Z] Removing intermediate container fb581dc6774e [2023-05-22T20:59:19.052Z] ---> 70a4a93d5cca [2023-05-22T20:59:19.052Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T20:59:19.052Z] ---> Running in 288471bda1b9 [2023-05-22T20:59:19.052Z] Removing intermediate container 288471bda1b9 [2023-05-22T20:59:19.052Z] ---> 9771304e23e7 [2023-05-22T20:59:19.052Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T20:59:19.052Z] ---> Running in 44e88a3723d5 [2023-05-22T20:59:19.052Z] Removing intermediate container 44e88a3723d5 [2023-05-22T20:59:19.052Z] ---> ed0a82c1d28a [2023-05-22T20:59:19.052Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T20:59:19.052Z] ---> Running in 42d48128f26d [2023-05-22T20:59:19.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T20:59:19.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T20:59:19.572Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-22T20:59:19.572Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-22T20:59:19.572Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-22T20:59:19.572Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-22T20:59:19.572Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T20:59:19.572Z] OK: 269 MiB in 57 packages [2023-05-22T20:59:20.145Z] Removing intermediate container 42d48128f26d [2023-05-22T20:59:20.145Z] ---> f156b98a7815 [2023-05-22T20:59:20.145Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-22T20:59:20.145Z] ---> Running in 9fbe2d7710dd [2023-05-22T20:59:20.145Z] Removing intermediate container 9fbe2d7710dd [2023-05-22T20:59:20.145Z] ---> ba975f92d96c [2023-05-22T20:59:20.145Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-22T20:59:20.145Z] ---> b08784c3adb8 [2023-05-22T20:59:20.145Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T20:59:20.186Z] Still waiting to schedule task [2023-05-22T20:59:20.187Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-22T20:59:20.407Z] ---> Running in b96e315637e3 [2023-05-22T20:59:47.075Z] Removing intermediate container b96e315637e3 [2023-05-22T20:59:47.075Z] ---> 34640c198663 [2023-05-22T20:59:47.075Z] Step 11/12 : COPY . . [2023-05-22T20:59:47.075Z] ---> 47f6b263739a [2023-05-22T20:59:47.075Z] Step 12/12 : RUN $MAKE [2023-05-22T20:59:47.075Z] ---> Running in f890f6bc362f [2023-05-22T20:59:47.075Z] noop [2023-05-22T20:59:47.075Z] Removing intermediate container f890f6bc362f [2023-05-22T20:59:47.075Z] ---> 493f5b2d0c35 [2023-05-22T20:59:47.075Z] Successfully built 493f5b2d0c35 [2023-05-22T20:59:47.075Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T20:59:47.528Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T20:59:47.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T20:59:47.682Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2023-05-22T20:59:47.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-323 -v /w/workspace/gexfoundry_device-rest-go_PR-323:/w/workspace/gexfoundry_device-rest-go_PR-323:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-323@tmp:/w/workspace/gexfoundry_device-rest-go_PR-323@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 ******** ci-base-image-x86_64 cat [2023-05-22T20:59:48.029Z] $ docker top 62522e625e174f6e16be6969876857083c494c6d4bde432771c6d04663f6a0ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T20:59:48.414Z] + go version [2023-05-22T20:59:48.414Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-22T20:59:48.454Z] $ docker stop --time=1 62522e625e174f6e16be6969876857083c494c6d4bde432771c6d04663f6a0ae [2023-05-22T20:59:49.739Z] $ docker rm -f --volumes 62522e625e174f6e16be6969876857083c494c6d4bde432771c6d04663f6a0ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T20:59:50.474Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T20:59:50.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T20:59:50.660Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2023-05-22T20:59:50.698Z] $ 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-323 -v /w/workspace/gexfoundry_device-rest-go_PR-323:/w/workspace/gexfoundry_device-rest-go_PR-323:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-323@tmp:/w/workspace/gexfoundry_device-rest-go_PR-323@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 ******** ci-base-image-x86_64 cat [2023-05-22T20:59:51.020Z] $ docker top c1537db14f2fce09eda3d2aa18a4eb73e55ca2c09df1d5b25b8426048b6c7feb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T20:59:51.415Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-323 [Pipeline] fileExists [Pipeline] sh [2023-05-22T20:59:51.778Z] + make test [2023-05-22T20:59:51.778Z] go test ./... -coverprofile=coverage.out ./... [2023-05-22T20:59:55.974Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-22T21:00:06.082Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-22T21:00:06.082Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-22T21:00:12.663Z] go vet ./... [2023-05-22T21:00:15.193Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T21:00:15.193Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T21:00:15.193Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T21:00:15.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T21:00:15.267Z] $ docker stop --time=1 c1537db14f2fce09eda3d2aa18a4eb73e55ca2c09df1d5b25b8426048b6c7feb [2023-05-22T21:00:18.250Z] $ docker rm -f --volumes c1537db14f2fce09eda3d2aa18a4eb73e55ca2c09df1d5b25b8426048b6c7feb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T21:00:18.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T21:00:18.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-22T21:00:19.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T21:00:19.853Z] + ls -al . [2023-05-22T21:00:19.853Z] total 184 [2023-05-22T21:00:19.853Z] drwxrwxr-x 9 jenkins jenkins 4096 May 22 20:59 . [2023-05-22T21:00:19.853Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 20:58 .. [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 151 May 22 20:58 .dockerignore [2023-05-22T21:00:19.853Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 20:59 .git [2023-05-22T21:00:19.853Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 20:58 .github [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 329 May 22 20:58 .gitignore [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 41 May 22 20:58 .golangci.yml [2023-05-22T21:00:19.853Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 20:59 .semver [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 22 20:58 Attribution.txt [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 22 20:58 CHANGELOG.md [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 22 20:58 Dockerfile [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 677 May 22 20:58 GOVERNANCE.md [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 680 May 22 20:58 Jenkinsfile [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 22 20:58 LICENSE [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 22 20:58 Makefile [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 620 May 22 20:58 OWNERS.md [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 22 20:58 README.md [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 20:59 VERSION [2023-05-22T21:00:19.853Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 20:58 bin [2023-05-22T21:00:19.853Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 20:58 cmd [2023-05-22T21:00:19.853Z] -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:00 coverage.out [2023-05-22T21:00:19.853Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 20:58 driver [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 22 20:58 go.mod [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 22 20:58 go.sum [2023-05-22T21:00:19.853Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 20:58 snap [2023-05-22T21:00:19.853Z] -rw-rw-r-- 1 jenkins jenkins 713 May 22 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:00:20.251Z] + 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=ebcc86debcd0477a29edf168e49a254c0e252b34 --label arch=amd64 --label version=0.0.0 . [2023-05-22T21:00:20.251Z] Sending build context to Docker daemon 10.95MB [2023-05-22T21:00:20.251Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:00:20.251Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-22T21:00:20.251Z] ---> 493f5b2d0c35 [2023-05-22T21:00:20.251Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:00:20.251Z] ---> Running in 15a043d2e132 [2023-05-22T21:00:20.511Z] Removing intermediate container 15a043d2e132 [2023-05-22T21:00:20.511Z] ---> 1c37ca4af6d1 [2023-05-22T21:00:20.511Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:00:20.511Z] ---> Running in cf2b2ac30998 [2023-05-22T21:00:20.511Z] Removing intermediate container cf2b2ac30998 [2023-05-22T21:00:20.511Z] ---> c6696f29a5cc [2023-05-22T21:00:20.511Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:00:20.511Z] ---> Running in ea1ef0fc980c [2023-05-22T21:00:20.772Z] Removing intermediate container ea1ef0fc980c [2023-05-22T21:00:20.772Z] ---> de02eb50d035 [2023-05-22T21:00:20.772Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:00:20.772Z] ---> Running in 8d690998462b [2023-05-22T21:00:20.772Z] Removing intermediate container 8d690998462b [2023-05-22T21:00:20.772Z] ---> d68d575b740a [2023-05-22T21:00:20.772Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:00:20.772Z] ---> Running in 0efa273e3f9b [2023-05-22T21:00:21.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T21:00:21.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T21:00:21.296Z] OK: 269 MiB in 57 packages [2023-05-22T21:00:21.554Z] Removing intermediate container 0efa273e3f9b [2023-05-22T21:00:21.554Z] ---> 2870a85987f5 [2023-05-22T21:00:21.554Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-22T21:00:21.554Z] ---> Running in 0143b30505cf [2023-05-22T21:00:21.816Z] Removing intermediate container 0143b30505cf [2023-05-22T21:00:21.816Z] ---> e4aeb35712b9 [2023-05-22T21:00:21.816Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-22T21:00:21.816Z] ---> 68f050493048 [2023-05-22T21:00:21.816Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:00:21.816Z] ---> Running in efc1425fbf3b [2023-05-22T21:00:22.757Z] Removing intermediate container efc1425fbf3b [2023-05-22T21:00:22.757Z] ---> 6787ae94488e [2023-05-22T21:00:22.757Z] Step 11/25 : COPY . . [2023-05-22T21:00:23.017Z] ---> bdc188eb5b93 [2023-05-22T21:00:23.017Z] Step 12/25 : RUN $MAKE [2023-05-22T21:00:23.017Z] ---> Running in 2199d16f1cbc [2023-05-22T21:00:23.276Z] 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:00:45.210Z] Removing intermediate container 2199d16f1cbc [2023-05-22T21:00:45.210Z] ---> e930654e31a4 [2023-05-22T21:00:45.210Z] Step 13/25 : FROM alpine:3.17 [2023-05-22T21:00:45.210Z] 3.17: Pulling from library/alpine [2023-05-22T21:00:45.210Z] f56be85fc22e: Already exists [2023-05-22T21:00:45.210Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T21:00:45.210Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T21:00:45.210Z] ---> 9ed4aefc74f6 [2023-05-22T21:00:45.210Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-22T21:00:45.210Z] ---> Running in ccb5e94de7bd [2023-05-22T21:00:45.210Z] Removing intermediate container ccb5e94de7bd [2023-05-22T21:00:45.210Z] ---> e151a96c5b65 [2023-05-22T21:00:45.210Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-22T21:00:45.210Z] ---> Running in 0ad9eada5081 [2023-05-22T21:00:45.210Z] Removing intermediate container 0ad9eada5081 [2023-05-22T21:00:45.210Z] ---> 6b5fec50a2be [2023-05-22T21:00:45.210Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-22T21:00:45.210Z] ---> Running in df85536b8866 [2023-05-22T21:00:45.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T21:00:45.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T21:00:45.210Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-22T21:00:45.210Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:00:45.210Z] OK: 7 MiB in 16 packages [2023-05-22T21:00:45.210Z] Removing intermediate container df85536b8866 [2023-05-22T21:00:45.210Z] ---> 6bfa2ba8ce7e [2023-05-22T21:00:45.210Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-22T21:00:45.210Z] ---> e58ade44a3dd [2023-05-22T21:00:45.210Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-22T21:00:45.210Z] ---> b2861482fcb2 [2023-05-22T21:00:45.210Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-22T21:00:45.210Z] ---> 860cabea670e [2023-05-22T21:00:45.210Z] Step 20/25 : EXPOSE 59986 [2023-05-22T21:00:45.210Z] ---> Running in 75dc5a512937 [2023-05-22T21:00:45.210Z] Removing intermediate container 75dc5a512937 [2023-05-22T21:00:45.210Z] ---> 4708e3c3bed9 [2023-05-22T21:00:45.210Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-22T21:00:45.210Z] ---> Running in f0dd01b98275 [2023-05-22T21:00:45.210Z] Removing intermediate container f0dd01b98275 [2023-05-22T21:00:45.210Z] ---> 9db2a5d31a76 [2023-05-22T21:00:45.210Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-22T21:00:45.210Z] ---> Running in c48281d2991c [2023-05-22T21:00:45.210Z] Removing intermediate container c48281d2991c [2023-05-22T21:00:45.210Z] ---> 8ea565ef1e0c [2023-05-22T21:00:45.210Z] Step 23/25 : LABEL arch=amd64 [2023-05-22T21:00:45.210Z] ---> Running in a4f125b72d0a [2023-05-22T21:00:45.210Z] Removing intermediate container a4f125b72d0a [2023-05-22T21:00:45.210Z] ---> 342f0b0f64a8 [2023-05-22T21:00:45.210Z] Step 24/25 : LABEL git_sha=ebcc86debcd0477a29edf168e49a254c0e252b34 [2023-05-22T21:00:45.210Z] ---> Running in 1829e9d621d5 [2023-05-22T21:00:45.210Z] Removing intermediate container 1829e9d621d5 [2023-05-22T21:00:45.210Z] ---> 83bcb7a14be4 [2023-05-22T21:00:45.210Z] Step 25/25 : LABEL version=0.0.0 [2023-05-22T21:00:45.210Z] ---> Running in 9d0f94d27c91 [2023-05-22T21:00:45.210Z] Removing intermediate container 9d0f94d27c91 [2023-05-22T21:00:45.210Z] ---> 1aeea59f7438 [2023-05-22T21:00:45.210Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T21:00:45.210Z] Successfully built 1aeea59f7438 [2023-05-22T21:00:45.210Z] 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:00:46.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:00:46.128Z] [2023-05-22T21:00:46.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:00:46.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:00:46.514Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-22T21:00:46.514Z] 5eb5b503b376: Pulling fs layer [2023-05-22T21:00:46.514Z] 5c69ac0246d0: Pulling fs layer [2023-05-22T21:00:46.514Z] ec43610c2a17: Pulling fs layer [2023-05-22T21:00:46.514Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-22T21:00:46.514Z] 33b1e0a273af: Pulling fs layer [2023-05-22T21:00:46.514Z] 5d3b04190fa2: Pulling fs layer [2023-05-22T21:00:46.514Z] 2f39f015ded8: Pulling fs layer [2023-05-22T21:00:46.514Z] 3a2ae6a8a46f: Waiting [2023-05-22T21:00:46.514Z] 33b1e0a273af: Waiting [2023-05-22T21:00:46.514Z] 5d3b04190fa2: Waiting [2023-05-22T21:00:46.514Z] 5c69ac0246d0: Verifying Checksum [2023-05-22T21:00:46.514Z] 5c69ac0246d0: Download complete [2023-05-22T21:00:46.514Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-22T21:00:46.514Z] 3a2ae6a8a46f: Download complete [2023-05-22T21:00:46.514Z] 33b1e0a273af: Verifying Checksum [2023-05-22T21:00:46.514Z] 33b1e0a273af: Download complete [2023-05-22T21:00:46.514Z] 5d3b04190fa2: Verifying Checksum [2023-05-22T21:00:46.514Z] 5d3b04190fa2: Download complete [2023-05-22T21:00:46.514Z] ec43610c2a17: Verifying Checksum [2023-05-22T21:00:46.514Z] ec43610c2a17: Download complete [2023-05-22T21:00:46.773Z] 5eb5b503b376: Verifying Checksum [2023-05-22T21:00:46.773Z] 5eb5b503b376: Download complete [2023-05-22T21:00:47.343Z] 2f39f015ded8: Download complete [2023-05-22T21:00:47.909Z] 5eb5b503b376: Pull complete [2023-05-22T21:00:47.909Z] 5c69ac0246d0: Pull complete [2023-05-22T21:00:48.477Z] ec43610c2a17: Pull complete [2023-05-22T21:00:48.477Z] 3a2ae6a8a46f: Pull complete [2023-05-22T21:00:49.204Z] 33b1e0a273af: Pull complete [2023-05-22T21:00:49.205Z] 5d3b04190fa2: Pull complete [2023-05-22T21:00:52.496Z] 2f39f015ded8: Pull complete [2023-05-22T21:00:52.496Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-22T21:00:52.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:00:52.496Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:00:52.736Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2023-05-22T21:00:52.767Z] $ 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-323 -v /w/workspace/gexfoundry_device-rest-go_PR-323:/w/workspace/gexfoundry_device-rest-go_PR-323:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-323@tmp:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T21:00:56.498Z] $ docker top ca0cf9831a35e312683a9466af324340f9b52e0f5abdea6b7c4f4e9c6c8db204 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:00:56.953Z] ---> job-cost.sh [2023-05-22T21:00:56.953Z] lf-activate-venv: SKIPPING [2023-05-22T21:00:56.953Z] INFO: No Stack... [2023-05-22T21:00:57.213Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T21:00:57.475Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T21:00:57.796Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-323/archives/cost.csv [2023-05-22T21:00:57.796Z] + cut -d, -f6 [Pipeline] lock [2023-05-22T21:00:57.834Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] [2023-05-22T21:00:57.839Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] did not exist. Created. [2023-05-22T21:00:57.839Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T21:00:58.240Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-22T21:00:58.287Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T21:00:58.317Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T21:00:58.401Z] $ docker stop --time=1 ca0cf9831a35e312683a9466af324340f9b52e0f5abdea6b7c4f4e9c6c8db204 [2023-05-22T21:00:59.561Z] $ docker rm -f --volumes ca0cf9831a35e312683a9466af324340f9b52e0f5abdea6b7c4f4e9c6c8db204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-22T21:01:04.063Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16353 in /w/workspace/gexfoundry_device-rest-go_PR-323 [Pipeline] { [Pipeline] ws [2023-05-22T21:01:04.131Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-22T21:01:04.213Z] The recommended git tool is: git [2023-05-22T21:01:09.581Z] using credential edgex-jenkins-ssh [2023-05-22T21:01:09.602Z] Cloning the remote Git repository [2023-05-22T21:01:09.651Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-22T21:01:09.759Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-22T21:01:09.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-22T21:01:09.936Z] > git --version # timeout=10 [2023-05-22T21:01:09.960Z] > git --version # 'git version 2.25.1' [2023-05-22T21:01:09.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T21:01:10.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T21:01:11.948Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-22T21:01:11.976Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T21:01:12.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-22T21:01:13.498Z] Merging remotes/origin/main commit b9b57828cb91c1ed80a64c0f12d73d3d38017d14 into PR head commit ebcc86debcd0477a29edf168e49a254c0e252b34 [2023-05-22T21:01:13.791Z] Merge succeeded, producing ebcc86debcd0477a29edf168e49a254c0e252b34 [2023-05-22T21:01:13.791Z] Checking out Revision ebcc86debcd0477a29edf168e49a254c0e252b34 (PR-323) [2023-05-22T21:01:14.299Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-22T21:01:12.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-22T21:01:12.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T21:01:12.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-22T21:01:13.517Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T21:01:13.593Z] > git checkout -f ebcc86debcd0477a29edf168e49a254c0e252b34 # timeout=10 [2023-05-22T21:01:13.689Z] > git remote # timeout=10 [2023-05-22T21:01:13.709Z] > git config --get remote.origin.url # timeout=10 [2023-05-22T21:01:13.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T21:01:13.744Z] > git merge b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 [2023-05-22T21:01:13.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-22T21:01:13.797Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T21:01:13.811Z] > git checkout -f ebcc86debcd0477a29edf168e49a254c0e252b34 # timeout=10 [2023-05-22T21:01:14.355Z] > git --version # timeout=10 [2023-05-22T21:01:14.367Z] > git --version # 'git version 2.25.1' [2023-05-22T21:01:14.387Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T21:01:15.560Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-22T21:01:15.560Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T21:01:15.560Z] Dload Upload Total Spent Left Speed [2023-05-22T21:01:15.560Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-05-22T21:01:16.174Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-22T21:01:16.522Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-22T21:01:16.522Z] + sudo tee /etc/docker/daemon.new [2023-05-22T21:01:16.522Z] { [2023-05-22T21:01:16.522Z] "registry-mirrors": [ [2023-05-22T21:01:16.522Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-22T21:01:16.522Z] ], [2023-05-22T21:01:16.522Z] "bip": "10.250.0.254/24", [2023-05-22T21:01:16.522Z] "hosts": [ [2023-05-22T21:01:16.522Z] "tcp://0.0.0.0:5555", [2023-05-22T21:01:16.522Z] "unix:///var/run/docker.sock" [2023-05-22T21:01:16.522Z] ], [2023-05-22T21:01:16.522Z] "mtu": 1458, [2023-05-22T21:01:16.522Z] "selinux-enabled": true, [2023-05-22T21:01:16.522Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-22T21:01:16.522Z] } [Pipeline] sh [2023-05-22T21:01:16.866Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-22T21:01:17.237Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T21:01:35.575Z] provisioning config files... [2023-05-22T21:01:35.604Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4528697238713469098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:01:35.994Z] ---> docker-login.sh [2023-05-22T21:01:35.994Z] nexus3.edgexfoundry.org:10001 [2023-05-22T21:01:36.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:01:36.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:01:36.537Z] Configure a credential helper to remove this warning. See [2023-05-22T21:01:36.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:01:36.537Z] [2023-05-22T21:01:36.537Z] Login Succeeded [2023-05-22T21:01:36.537Z] nexus3.edgexfoundry.org:10002 [2023-05-22T21:01:36.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:01:37.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:01:37.077Z] Configure a credential helper to remove this warning. See [2023-05-22T21:01:37.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:01:37.077Z] [2023-05-22T21:01:37.077Z] Login Succeeded [2023-05-22T21:01:37.077Z] nexus3.edgexfoundry.org:10003 [2023-05-22T21:01:37.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:01:37.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:01:37.348Z] Configure a credential helper to remove this warning. See [2023-05-22T21:01:37.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:01:37.348Z] [2023-05-22T21:01:37.348Z] Login Succeeded [2023-05-22T21:01:37.348Z] nexus3.edgexfoundry.org:10004 [2023-05-22T21:01:37.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:01:37.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:01:37.621Z] Configure a credential helper to remove this warning. See [2023-05-22T21:01:37.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:01:37.621Z] [2023-05-22T21:01:37.621Z] Login Succeeded [2023-05-22T21:01:37.621Z] docker.io [2023-05-22T21:01:37.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T21:01:38.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T21:01:38.160Z] Configure a credential helper to remove this warning. See [2023-05-22T21:01:38.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T21:01:38.160Z] [2023-05-22T21:01:38.160Z] Login Succeeded [2023-05-22T21:01:38.160Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T21:01:38.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T21:01:38.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T21:01:38.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T21:01:38.979Z] ========================================================= [2023-05-22T21:01:38.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-22T21:01:38.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:01:39.492Z] + 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:01:39.492Z] Sending build context to Docker daemon 139.3kB [2023-05-22T21:01:39.766Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:01:39.766Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-22T21:01:39.766Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-22T21:01:39.766Z] c41833b44d91: Pulling fs layer [2023-05-22T21:01:39.766Z] ed15518f5707: Pulling fs layer [2023-05-22T21:01:39.766Z] feae8fd75edb: Pulling fs layer [2023-05-22T21:01:39.766Z] 242c74f7c9fa: Pulling fs layer [2023-05-22T21:01:39.766Z] 3cdef696dda3: Pulling fs layer [2023-05-22T21:01:39.766Z] 2ced38df9373: Pulling fs layer [2023-05-22T21:01:39.766Z] 58f1dce35555: Pulling fs layer [2023-05-22T21:01:39.766Z] 242c74f7c9fa: Waiting [2023-05-22T21:01:39.766Z] 3cdef696dda3: Waiting [2023-05-22T21:01:39.766Z] 2ced38df9373: Waiting [2023-05-22T21:01:39.766Z] 58f1dce35555: Waiting [2023-05-22T21:01:40.057Z] ed15518f5707: Verifying Checksum [2023-05-22T21:01:40.058Z] ed15518f5707: Download complete [2023-05-22T21:01:40.058Z] 242c74f7c9fa: Verifying Checksum [2023-05-22T21:01:40.058Z] 242c74f7c9fa: Download complete [2023-05-22T21:01:40.058Z] 3cdef696dda3: Verifying Checksum [2023-05-22T21:01:40.058Z] 3cdef696dda3: Download complete [2023-05-22T21:01:40.058Z] c41833b44d91: Verifying Checksum [2023-05-22T21:01:40.058Z] c41833b44d91: Download complete [2023-05-22T21:01:41.040Z] c41833b44d91: Pull complete [2023-05-22T21:01:41.312Z] 58f1dce35555: Verifying Checksum [2023-05-22T21:01:41.312Z] 58f1dce35555: Download complete [2023-05-22T21:01:41.583Z] ed15518f5707: Pull complete [2023-05-22T21:01:42.559Z] feae8fd75edb: Verifying Checksum [2023-05-22T21:01:42.559Z] feae8fd75edb: Download complete [2023-05-22T21:01:42.559Z] 2ced38df9373: Verifying Checksum [2023-05-22T21:01:42.559Z] 2ced38df9373: Download complete [2023-05-22T21:01:52.748Z] feae8fd75edb: Pull complete [2023-05-22T21:01:52.748Z] 242c74f7c9fa: Pull complete [2023-05-22T21:01:53.018Z] 3cdef696dda3: Pull complete [2023-05-22T21:01:59.691Z] 2ced38df9373: Pull complete [2023-05-22T21:02:00.662Z] 58f1dce35555: Pull complete [2023-05-22T21:02:00.662Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-22T21:02:00.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-22T21:02:00.662Z] ---> fadd8f120f05 [2023-05-22T21:02:00.662Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:02:02.624Z] ---> Running in 13bbb5279e36 [2023-05-22T21:02:02.892Z] Removing intermediate container 13bbb5279e36 [2023-05-22T21:02:02.892Z] ---> 678d89b425a6 [2023-05-22T21:02:02.892Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:02:02.892Z] ---> Running in 4d110153042a [2023-05-22T21:02:03.165Z] Removing intermediate container 4d110153042a [2023-05-22T21:02:03.165Z] ---> 4f508fe0c6ce [2023-05-22T21:02:03.165Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:02:03.165Z] ---> Running in 55daa22cfebe [2023-05-22T21:02:03.432Z] Removing intermediate container 55daa22cfebe [2023-05-22T21:02:03.432Z] ---> d919c69b9872 [2023-05-22T21:02:03.432Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:02:03.699Z] ---> Running in 2a74dfcacff0 [2023-05-22T21:02:03.968Z] Removing intermediate container 2a74dfcacff0 [2023-05-22T21:02:03.968Z] ---> 794db6b59e18 [2023-05-22T21:02:03.968Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:02:03.968Z] ---> Running in dd3ae2e457ee [2023-05-22T21:02:05.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T21:02:05.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T21:02:06.617Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-22T21:02:06.617Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-22T21:02:06.617Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-22T21:02:06.617Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-22T21:02:06.617Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:02:06.886Z] OK: 268 MiB in 57 packages [2023-05-22T21:02:07.850Z] Removing intermediate container dd3ae2e457ee [2023-05-22T21:02:07.850Z] ---> 485a8f4829d0 [2023-05-22T21:02:07.850Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-22T21:02:07.850Z] ---> Running in 37073abbb839 [2023-05-22T21:02:08.118Z] Removing intermediate container 37073abbb839 [2023-05-22T21:02:08.118Z] ---> 4b83fc2a1651 [2023-05-22T21:02:08.118Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-22T21:02:08.705Z] ---> 1cb6612aa1d3 [2023-05-22T21:02:08.705Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:02:12.959Z] ---> Running in 7cf0d8127c1f [2023-05-22T21:03:20.852Z] Removing intermediate container 7cf0d8127c1f [2023-05-22T21:03:20.852Z] ---> cebdba3715da [2023-05-22T21:03:20.852Z] Step 11/12 : COPY . . [2023-05-22T21:03:20.852Z] ---> 1ad83a07a0ff [2023-05-22T21:03:20.852Z] Step 12/12 : RUN $MAKE [2023-05-22T21:03:20.852Z] ---> Running in 7acbe98513e8 [2023-05-22T21:03:20.852Z] noop [2023-05-22T21:03:20.852Z] Removing intermediate container 7acbe98513e8 [2023-05-22T21:03:20.852Z] ---> 26a66f7803cd [2023-05-22T21:03:20.852Z] Successfully built 26a66f7803cd [2023-05-22T21:03:20.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:03:21.327Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T21:03:21.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:03:21.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container [2023-05-22T21:03:21.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-05-22T21:03:22.929Z] $ docker top 7a1c1c591b6fe2d963ea0145da90dbef85849311670f72c1f60b7e481617a647 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:03:23.854Z] + go version [2023-05-22T21:03:23.854Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-22T21:03:23.888Z] $ docker stop --time=1 7a1c1c591b6fe2d963ea0145da90dbef85849311670f72c1f60b7e481617a647 [2023-05-22T21:03:25.508Z] $ docker rm -f --volumes 7a1c1c591b6fe2d963ea0145da90dbef85849311670f72c1f60b7e481617a647 [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:03:26.393Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T21:03:26.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:03:26.648Z] prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container [2023-05-22T21:03:26.707Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-05-22T21:03:27.854Z] $ docker top e72669509092cbbd48972d854f12b8c895b96048232693fa408eee9df08a7a74 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:03:28.425Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-22T21:03:29.401Z] + make test [2023-05-22T21:03:29.401Z] go test ./... -coverprofile=coverage.out ./... [2023-05-22T21:04:01.630Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-22T21:06:08.333Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-22T21:06:08.333Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 32.2% of statements [2023-05-22T21:06:08.333Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-22T21:06:08.333Z] go vet ./... [2023-05-22T21:06:35.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T21:06:35.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T21:06:35.069Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T21:06:35.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T21:06:35.131Z] $ docker stop --time=1 e72669509092cbbd48972d854f12b8c895b96048232693fa408eee9df08a7a74 [2023-05-22T21:06:37.101Z] $ docker rm -f --volumes e72669509092cbbd48972d854f12b8c895b96048232693fa408eee9df08a7a74 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T21:06:38.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T21:06:38.396Z] Warning: overwriting stash ‘coverage-report’ [2023-05-22T21:06:38.997Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T21:06:39.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T21:06:39.964Z] + ls -al . [2023-05-22T21:06:39.964Z] total 180 [2023-05-22T21:06:39.964Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:03 . [2023-05-22T21:06:39.964Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:01 .. [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:01 .dockerignore [2023-05-22T21:06:39.964Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:01 .git [2023-05-22T21:06:39.964Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:01 .github [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:01 .gitignore [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:01 .golangci.yml [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:01 Attribution.txt [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:01 CHANGELOG.md [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:01 Dockerfile [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:01 GOVERNANCE.md [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:01 Jenkinsfile [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:01 LICENSE [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:01 Makefile [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:01 OWNERS.md [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:01 README.md [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 20:59 VERSION [2023-05-22T21:06:39.964Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:01 bin [2023-05-22T21:06:39.964Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:01 cmd [2023-05-22T21:06:39.964Z] -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:05 coverage.out [2023-05-22T21:06:39.964Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:01 driver [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:01 go.mod [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 22 21:01 go.sum [2023-05-22T21:06:39.964Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:01 snap [2023-05-22T21:06:39.964Z] -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:06:40.387Z] + 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=ebcc86debcd0477a29edf168e49a254c0e252b34 --label arch=arm64 --label version=0.0.0 . [2023-05-22T21:06:40.387Z] Sending build context to Docker daemon 154.6kB [2023-05-22T21:06:40.654Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T21:06:40.654Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-22T21:06:40.654Z] ---> 26a66f7803cd [2023-05-22T21:06:40.654Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-22T21:06:40.922Z] ---> Running in 61ed6de080c6 [2023-05-22T21:06:41.191Z] Removing intermediate container 61ed6de080c6 [2023-05-22T21:06:41.191Z] ---> 79b08755f1e9 [2023-05-22T21:06:41.191Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T21:06:41.191Z] ---> Running in 154734a7df65 [2023-05-22T21:06:41.465Z] Removing intermediate container 154734a7df65 [2023-05-22T21:06:41.465Z] ---> 81cd1f0a96a4 [2023-05-22T21:06:41.465Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-22T21:06:41.465Z] ---> Running in d32669322012 [2023-05-22T21:06:42.051Z] Removing intermediate container d32669322012 [2023-05-22T21:06:42.051Z] ---> 2f2f82b385ec [2023-05-22T21:06:42.051Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-22T21:06:42.051Z] ---> Running in 45e1fccaec79 [2023-05-22T21:06:42.332Z] Removing intermediate container 45e1fccaec79 [2023-05-22T21:06:42.332Z] ---> cf46478df1dd [2023-05-22T21:06:42.332Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T21:06:42.332Z] ---> Running in f1ec4f034ccd [2023-05-22T21:06:43.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T21:06:43.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T21:06:45.290Z] OK: 268 MiB in 57 packages [2023-05-22T21:06:45.876Z] Removing intermediate container f1ec4f034ccd [2023-05-22T21:06:45.876Z] ---> 8e3e1bb86586 [2023-05-22T21:06:45.876Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-22T21:06:45.876Z] ---> Running in 5daf0275fc57 [2023-05-22T21:06:46.461Z] Removing intermediate container 5daf0275fc57 [2023-05-22T21:06:46.461Z] ---> 534af05c41c5 [2023-05-22T21:06:46.461Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-22T21:06:46.733Z] ---> 6ac532867f30 [2023-05-22T21:06:46.733Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T21:06:46.733Z] ---> Running in f05d95756b15 [2023-05-22T21:06:49.323Z] Removing intermediate container f05d95756b15 [2023-05-22T21:06:49.323Z] ---> 4d1db3e48e13 [2023-05-22T21:06:49.323Z] Step 11/25 : COPY . . [2023-05-22T21:06:49.909Z] ---> 7c549ff62c54 [2023-05-22T21:06:49.909Z] Step 12/25 : RUN $MAKE [2023-05-22T21:06:49.909Z] ---> Running in 14416c0e3a51 [2023-05-22T21:06:50.873Z] 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:08:57.572Z] Removing intermediate container 14416c0e3a51 [2023-05-22T21:08:57.572Z] ---> b82906bde330 [2023-05-22T21:08:57.572Z] Step 13/25 : FROM alpine:3.17 [2023-05-22T21:08:57.572Z] 3.17: Pulling from library/alpine [2023-05-22T21:08:57.572Z] c41833b44d91: Already exists [2023-05-22T21:08:57.572Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T21:08:57.572Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T21:08:57.572Z] ---> 51e60588ff2c [2023-05-22T21:08:57.572Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-22T21:08:57.572Z] ---> Running in 7ff6e17ed317 [2023-05-22T21:08:57.572Z] Removing intermediate container 7ff6e17ed317 [2023-05-22T21:08:57.572Z] ---> 06006a7b532f [2023-05-22T21:08:57.572Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-22T21:08:57.572Z] ---> Running in a048d73e13c2 [2023-05-22T21:08:57.572Z] Removing intermediate container a048d73e13c2 [2023-05-22T21:08:57.572Z] ---> 999c7269ba78 [2023-05-22T21:08:57.572Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-22T21:08:57.572Z] ---> Running in 979056cbfa43 [2023-05-22T21:08:58.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T21:08:59.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T21:09:00.085Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-22T21:09:00.085Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T21:09:00.085Z] OK: 8 MiB in 16 packages [2023-05-22T21:09:01.049Z] Removing intermediate container 979056cbfa43 [2023-05-22T21:09:01.049Z] ---> 50c9ea260b44 [2023-05-22T21:09:01.049Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-22T21:09:02.459Z] ---> b1b2626a7f48 [2023-05-22T21:09:02.459Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-22T21:09:02.731Z] ---> bd6d194e8f0d [2023-05-22T21:09:02.731Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-22T21:09:03.315Z] ---> 239ebeac00b8 [2023-05-22T21:09:03.315Z] Step 20/25 : EXPOSE 59986 [2023-05-22T21:09:03.315Z] ---> Running in c6dc55c04c70 [2023-05-22T21:09:03.584Z] Removing intermediate container c6dc55c04c70 [2023-05-22T21:09:03.584Z] ---> c6c615323138 [2023-05-22T21:09:03.584Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-22T21:09:03.584Z] ---> Running in 83355601ef60 [2023-05-22T21:09:03.852Z] Removing intermediate container 83355601ef60 [2023-05-22T21:09:03.852Z] ---> 44534c68806e [2023-05-22T21:09:03.852Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-22T21:09:04.119Z] ---> Running in 9fec0fa87090 [2023-05-22T21:09:04.388Z] Removing intermediate container 9fec0fa87090 [2023-05-22T21:09:04.388Z] ---> 5b15827ef8f0 [2023-05-22T21:09:04.388Z] Step 23/25 : LABEL arch=arm64 [2023-05-22T21:09:04.388Z] ---> Running in 4351a9f5a579 [2023-05-22T21:09:04.656Z] Removing intermediate container 4351a9f5a579 [2023-05-22T21:09:04.656Z] ---> be5012c7a6a1 [2023-05-22T21:09:04.656Z] Step 24/25 : LABEL git_sha=ebcc86debcd0477a29edf168e49a254c0e252b34 [2023-05-22T21:09:04.656Z] ---> Running in 98283b9968ed [2023-05-22T21:09:04.923Z] Removing intermediate container 98283b9968ed [2023-05-22T21:09:04.923Z] ---> a0f7a9fc81f8 [2023-05-22T21:09:04.923Z] Step 25/25 : LABEL version=0.0.0 [2023-05-22T21:09:04.923Z] ---> Running in bd8ff35e1d5f [2023-05-22T21:09:05.191Z] Removing intermediate container bd8ff35e1d5f [2023-05-22T21:09:05.191Z] ---> 0c7063cce4ba [2023-05-22T21:09:05.191Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T21:09:05.191Z] Successfully built 0c7063cce4ba [2023-05-22T21:09:05.191Z] 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:09:06.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T21:09:06.024Z] [2023-05-22T21:09:06.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:09:06.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T21:09:06.431Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-22T21:09:06.431Z] 8998bd30e6a1: Pulling fs layer [2023-05-22T21:09:06.431Z] 04944245beec: Pulling fs layer [2023-05-22T21:09:06.431Z] 699f458cf7ca: Pulling fs layer [2023-05-22T21:09:06.431Z] 765212b225bb: Pulling fs layer [2023-05-22T21:09:06.431Z] f23df028b6ca: Pulling fs layer [2023-05-22T21:09:06.431Z] d65c8cfc05b1: Pulling fs layer [2023-05-22T21:09:06.431Z] 2437ff75d9bd: Pulling fs layer [2023-05-22T21:09:06.431Z] 765212b225bb: Waiting [2023-05-22T21:09:06.431Z] f23df028b6ca: Waiting [2023-05-22T21:09:06.431Z] d65c8cfc05b1: Waiting [2023-05-22T21:09:06.431Z] 2437ff75d9bd: Waiting [2023-05-22T21:09:06.699Z] 04944245beec: Verifying Checksum [2023-05-22T21:09:06.699Z] 04944245beec: Download complete [2023-05-22T21:09:06.699Z] 765212b225bb: Verifying Checksum [2023-05-22T21:09:06.699Z] 765212b225bb: Download complete [2023-05-22T21:09:06.699Z] f23df028b6ca: Verifying Checksum [2023-05-22T21:09:06.699Z] f23df028b6ca: Download complete [2023-05-22T21:09:06.699Z] d65c8cfc05b1: Verifying Checksum [2023-05-22T21:09:06.699Z] d65c8cfc05b1: Download complete [2023-05-22T21:09:06.968Z] 699f458cf7ca: Verifying Checksum [2023-05-22T21:09:06.968Z] 699f458cf7ca: Download complete [2023-05-22T21:09:07.234Z] 8998bd30e6a1: Download complete [2023-05-22T21:09:09.174Z] 2437ff75d9bd: Verifying Checksum [2023-05-22T21:09:09.174Z] 2437ff75d9bd: Download complete [2023-05-22T21:09:11.129Z] 8998bd30e6a1: Pull complete [2023-05-22T21:09:11.395Z] 04944245beec: Pull complete [2023-05-22T21:09:12.886Z] 699f458cf7ca: Pull complete [2023-05-22T21:09:13.172Z] 765212b225bb: Pull complete [2023-05-22T21:09:13.774Z] f23df028b6ca: Pull complete [2023-05-22T21:09:14.047Z] d65c8cfc05b1: Pull complete [2023-05-22T21:09:29.091Z] 2437ff75d9bd: Pull complete [2023-05-22T21:09:29.091Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-22T21:09:29.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T21:09:29.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:09:29.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container [2023-05-22T21:09:29.460Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-22T21:09:31.986Z] $ docker top 4becf5eb6a418f34881fc1b6466475940f9fcc4f7cb4ee5401671225df2741b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:32.876Z] ---> job-cost.sh [2023-05-22T21:09:32.876Z] lf-activate-venv: SKIPPING [2023-05-22T21:09:32.876Z] INFO: No Stack... [2023-05-22T21:09:33.458Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-22T21:09:34.044Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T21:09:34.703Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-22T21:09:34.704Z] + cut -d, -f6 [Pipeline] lock [2023-05-22T21:09:34.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] [2023-05-22T21:09:34.802Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] did not exist. Created. [2023-05-22T21:09:34.802Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T21:09:35.212Z] /w/workspace/device-rest-go/1@tmp/durable-bd13e198/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-22T21:09:35.842Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-22T21:09:35.878Z] Warning: overwriting stash ‘stack-cost’ [2023-05-22T21:09:35.921Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T21:09:35.940Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T21:09:36.012Z] $ docker stop --time=1 4becf5eb6a418f34881fc1b6466475940f9fcc4f7cb4ee5401671225df2741b7 [2023-05-22T21:09:37.495Z] $ docker rm -f --volumes 4becf5eb6a418f34881fc1b6466475940f9fcc4f7cb4ee5401671225df2741b7 [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:09:38.521Z] provisioning config files... [2023-05-22T21:09:38.528Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp/config8992098375496787644tmp [Pipeline] { [Pipeline] sh [2023-05-22T21:09:38.872Z] + set +x [2023-05-22T21:09:38.873Z] + curl -s https://codecov.io/bash [2023-05-22T21:09:38.873Z] + bash -s -- [2023-05-22T21:09:38.873Z] [2023-05-22T21:09:38.873Z] _____ _ [2023-05-22T21:09:38.873Z] / ____| | | [2023-05-22T21:09:38.873Z] | | ___ __| | ___ ___ _____ __ [2023-05-22T21:09:38.873Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-22T21:09:38.873Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-22T21:09:38.873Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-22T21:09:38.873Z] Bash-1.0.6 [2023-05-22T21:09:38.873Z] [2023-05-22T21:09:38.873Z] [2023-05-22T21:09:38.873Z] ==> git version 2.25.1 found [2023-05-22T21:09:38.873Z] ==> 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:09:38.873Z] Release-Date: 2020-01-08 [2023-05-22T21:09:38.873Z] 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:09:38.873Z] 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:09:38.873Z] ==> Jenkins CI detected. [2023-05-22T21:09:38.873Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-323 [2023-05-22T21:09:38.873Z] project root: . [2023-05-22T21:09:38.873Z] --> token set from env [2023-05-22T21:09:38.873Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-22T21:09:38.873Z] ==> Running gcov in . (disable via -X gcov) [2023-05-22T21:09:38.873Z] ==> Python coveragepy not found [2023-05-22T21:09:38.873Z] ==> Searching for coverage reports in: [2023-05-22T21:09:38.873Z] + . [2023-05-22T21:09:38.873Z] -> Found 1 reports [2023-05-22T21:09:38.873Z] ==> Detecting git/mercurial file structure [2023-05-22T21:09:39.132Z] ==> Reading reports [2023-05-22T21:09:39.132Z] + ./coverage.out bytes=14663 [2023-05-22T21:09:39.132Z] ==> Appending adjustments [2023-05-22T21:09:39.132Z] https://docs.codecov.io/docs/fixing-reports [2023-05-22T21:09:39.132Z] + Found adjustments [2023-05-22T21:09:39.132Z] ==> Gzipping contents [2023-05-22T21:09:39.132Z] 4.0K /tmp/codecov.sj9xlm.gz [2023-05-22T21:09:39.132Z] ==> Uploading reports [2023-05-22T21:09:39.132Z] url: https://codecov.io [2023-05-22T21:09:39.132Z] query: branch=PR-323&commit=ebcc86debcd0477a29edf168e49a254c0e252b34&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-05-22T21:09:39.132Z] -> Pinging Codecov [2023-05-22T21:09:39.132Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-323&commit=ebcc86debcd0477a29edf168e49a254c0e252b34&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-05-22T21:09:39.391Z] -> Uploading to [2023-05-22T21:09:39.391Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-22/4E5D53B4F1F92C436F7061BF334D961C/ebcc86debcd0477a29edf168e49a254c0e252b34/0d74d5d8-b850-44c0-b795-0668ac48755b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T210939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e149c7a463b79fbf208cad154fd533b3c173bce687545691822daffff73adc8 [2023-05-22T21:09:39.391Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T21:09:39.391Z] Dload Upload Total Spent Left Speed [2023-05-22T21:09:39.391Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11106 --:--:-- --:--:-- --:--:-- 11106 [2023-05-22T21:09:39.391Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ebcc86debcd0477a29edf168e49a254c0e252b34 [Pipeline] } [2023-05-22T21:09:39.417Z] 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:09:41.244Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-323/archives ] [2023-05-22T21:09:41.244Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-323/archives [2023-05-22T21:09:41.244Z] total 16 [2023-05-22T21:09:41.244Z] drwxr-xr-x 3 root root 4096 May 22 21:00 . [2023-05-22T21:09:41.244Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:00 .. [2023-05-22T21:09:41.244Z] drwxr-xr-x 2 root root 4096 May 22 21:00 cost [2023-05-22T21:09:41.244Z] -rw-r--r-- 1 root root 86 May 22 21:00 cost.csv [2023-05-22T21:09:41.244Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-323/archives [2023-05-22T21:09:41.244Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-323/archives [2023-05-22T21:09:41.244Z] total 16 [2023-05-22T21:09:41.244Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:00 . [2023-05-22T21:09:41.244Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:00 .. [2023-05-22T21:09:41.244Z] drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:00 cost [2023-05-22T21:09:41.244Z] -rw-r--r-- 1 jenkins jenkins 86 May 22 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:41.585Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:42.479Z] ---> package-listing.sh [2023-05-22T21:09:42.479Z] ++ facter osfamily [2023-05-22T21:09:42.479Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-22T21:09:42.739Z] + OS_FAMILY=debian [2023-05-22T21:09:42.739Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-323 [2023-05-22T21:09:42.739Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-22T21:09:42.739Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-22T21:09:42.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-22T21:09:42.739Z] + PACKAGES=/tmp/packages_start.txt [2023-05-22T21:09:42.739Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-323 ']' [2023-05-22T21:09:42.739Z] + PACKAGES=/tmp/packages_end.txt [2023-05-22T21:09:42.739Z] + case "${OS_FAMILY}" in [2023-05-22T21:09:42.739Z] + dpkg -l [2023-05-22T21:09:42.739Z] + grep '^ii' [2023-05-22T21:09:42.739Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-22T21:09:42.739Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-22T21:09:42.739Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-22T21:09:42.739Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-323 ']' [2023-05-22T21:09:42.739Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-323/archives/ [2023-05-22T21:09:42.739Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-323/archives/ [Pipeline] echo [2023-05-22T21:09:42.784Z] 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-323/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:09:43.070Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T21:09:43.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T21:09:43.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T21:09:43.847Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2023-05-22T21:09:43.884Z] $ 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-323/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-323 -v /w/workspace/gexfoundry_device-rest-go_PR-323:/w/workspace/gexfoundry_device-rest-go_PR-323:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-323@tmp:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T21:09:44.053Z] $ docker top fcd99912509ba2d9b1a1430849efeea3c74ee68be782871faaebeca6bf70b18a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T21:09:44.454Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-22T21:09:44.772Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-22T21:09:45.092Z] + ls /var/log/sa-host [2023-05-22T21:09:45.092Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T21:09:45.323Z] provisioning config files... [2023-05-22T21:09:45.331Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-323@tmp/config17759801983034481729tmp [Pipeline] { [Pipeline] echo [2023-05-22T21:09:45.383Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:45.699Z] ---> create-netrc.sh [Pipeline] } [2023-05-22T21:09:45.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:46.137Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-22T21:09:46.170Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:46.479Z] ---> sudo-logs.sh [2023-05-22T21:09:46.479Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-22T21:09:46.555Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:46.894Z] ---> job-cost.sh [2023-05-22T21:09:46.894Z] lf-activate-venv: SKIPPING [2023-05-22T21:09:46.894Z] DEBUG: total: 0.2199999988079071 [2023-05-22T21:09:46.894Z] INFO: Retrieving Stack Cost... [2023-05-22T21:09:47.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T21:09:47.723Z] INFO: Archiving Costs [Pipeline] echo [2023-05-22T21:09:47.763Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T21:09:48.078Z] ---> logs-deploy.sh [2023-05-22T21:09:48.079Z] lf-activate-venv: SKIPPING [2023-05-22T21:09:48.079Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-323/1 [2023-05-22T21:09:48.079Z] INFO: archiving workspace using pattern(s): [2023-05-22T21:09:49.020Z] Archives upload complete. [2023-05-22T21:09:49.020Z] INFO: archiving logs to Nexus [2023-05-22T21:09:49.591Z] ---> uname -a: [2023-05-22T21:09:49.591Z] Linux prd-ubuntu20-04-docker-8c-8g-16352 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z] ---> lscpu: [2023-05-22T21:09:49.591Z] Architecture: x86_64 [2023-05-22T21:09:49.591Z] CPU op-mode(s): 32-bit, 64-bit [2023-05-22T21:09:49.591Z] Byte Order: Little Endian [2023-05-22T21:09:49.591Z] Address sizes: 40 bits physical, 48 bits virtual [2023-05-22T21:09:49.591Z] CPU(s): 8 [2023-05-22T21:09:49.591Z] On-line CPU(s) list: 0-7 [2023-05-22T21:09:49.591Z] Thread(s) per core: 1 [2023-05-22T21:09:49.591Z] Core(s) per socket: 1 [2023-05-22T21:09:49.591Z] Socket(s): 8 [2023-05-22T21:09:49.591Z] NUMA node(s): 1 [2023-05-22T21:09:49.591Z] Vendor ID: AuthenticAMD [2023-05-22T21:09:49.591Z] CPU family: 23 [2023-05-22T21:09:49.591Z] Model: 49 [2023-05-22T21:09:49.591Z] Model name: AMD EPYC-Rome Processor [2023-05-22T21:09:49.591Z] Stepping: 0 [2023-05-22T21:09:49.591Z] CPU MHz: 2800.000 [2023-05-22T21:09:49.591Z] BogoMIPS: 5600.00 [2023-05-22T21:09:49.591Z] Virtualization: AMD-V [2023-05-22T21:09:49.591Z] Hypervisor vendor: KVM [2023-05-22T21:09:49.591Z] Virtualization type: full [2023-05-22T21:09:49.591Z] L1d cache: 256 KiB [2023-05-22T21:09:49.591Z] L1i cache: 256 KiB [2023-05-22T21:09:49.591Z] L2 cache: 4 MiB [2023-05-22T21:09:49.591Z] L3 cache: 128 MiB [2023-05-22T21:09:49.591Z] NUMA node0 CPU(s): 0-7 [2023-05-22T21:09:49.591Z] Vulnerability Itlb multihit: Not affected [2023-05-22T21:09:49.591Z] Vulnerability L1tf: Not affected [2023-05-22T21:09:49.591Z] Vulnerability Mds: Not affected [2023-05-22T21:09:49.591Z] Vulnerability Meltdown: Not affected [2023-05-22T21:09:49.591Z] Vulnerability Mmio stale data: Not affected [2023-05-22T21:09:49.591Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-05-22T21:09:49.591Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-05-22T21:09:49.591Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-05-22T21:09:49.591Z] Vulnerability Srbds: Not affected [2023-05-22T21:09:49.591Z] Vulnerability Tsx async abort: Not affected [2023-05-22T21:09:49.591Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z] ---> nproc: [2023-05-22T21:09:49.591Z] 8 [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z] ---> df -h: [2023-05-22T21:09:49.591Z] Filesystem Size Used Avail Use% Mounted on [2023-05-22T21:09:49.591Z] overlay 155G 12G 144G 8% / [2023-05-22T21:09:49.591Z] tmpfs 64M 0 64M 0% /dev [2023-05-22T21:09:49.591Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-05-22T21:09:49.591Z] shm 64M 0 64M 0% /dev/shm [2023-05-22T21:09:49.591Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-05-22T21:09:49.591Z] [2023-05-22T21:09:49.591Z]