Pull request #251 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 362d6874ee91c00a73543560bf42b68c66de4331+b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (613ca530339b80ee42156d62cbe98fea22f8f53c) 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-ssh5341724077455073468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh35443728931304674.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-251/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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh979928381633678212.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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12574186100982370792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6111595109676387787.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-251/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-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9887971557785014814.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5926 in /w/workspace/gexfoundry_device-rest-go_PR-251 [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-251 # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit 362d6874ee91c00a73543560bf42b68c66de4331 Merge succeeded, producing 362d6874ee91c00a73543560bf42b68c66de4331 Checking out Revision 362d6874ee91c00a73543560bf42b68c66de4331 (PR-251) > 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T23:55:17.027Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T23:55:17.325Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T23:55:17.468Z] ========================================================= [2023-02-14T23:55:17.468Z] EdgeX Global Pipelines Version Info [2023-02-14T23:55:17.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:55:18.218Z] ------------------- [2023-02-14T23:55:18.218Z] stable info: [2023-02-14T23:55:18.218Z] ------------------- [2023-02-14T23:55:18.218Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T23:55:18.218Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T23:55:18.218Z] Message: update stable to v1.0.244 [2023-02-14T23:55:18.786Z] ------------------- [2023-02-14T23:55:18.786Z] experimental info: [2023-02-14T23:55:18.786Z] ------------------- [2023-02-14T23:55:18.786Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T23:55:18.786Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T23:55:18.786Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T23:55:19.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-14T23:55:19.097Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-14T23:55:19.133Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T23:55:19.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T23:55:19.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T23:55:19.246Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T23:55:19.287Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T23:55:19.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T23:55:19.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T23:55:19.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T23:55:19.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T23:55:19.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-14T23:55:19.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T23:55:19.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T23:55:19.587Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T23:55:19.621Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T23:55:19.662Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:55:19.697Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:55:19.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T23:55:19.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T23:55:19.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-14T23:55:19.844Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-14T23:55:19.880Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T23:55:19.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T23:55:19.967Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T23:55:20.002Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T23:55:20.039Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T23:55:20.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo [2023-02-14T23:55:20.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo [2023-02-14T23:55:20.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo [2023-02-14T23:55:20.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo [2023-02-14T23:55:20.228Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 362d687 [Pipeline] echo [2023-02-14T23:55:20.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T23:55:20.386Z] provisioning config files... [2023-02-14T23:55:20.399Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config12164221637419051273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:55:20.745Z] ---> docker-login.sh [2023-02-14T23:55:20.745Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:55:21.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:21.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:21.006Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:21.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:21.006Z] [2023-02-14T23:55:21.006Z] Login Succeeded [2023-02-14T23:55:21.006Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:55:21.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:21.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:21.267Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:21.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:21.267Z] [2023-02-14T23:55:21.267Z] Login Succeeded [2023-02-14T23:55:21.267Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:55:21.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:21.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:21.267Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:21.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:21.267Z] [2023-02-14T23:55:21.267Z] Login Succeeded [2023-02-14T23:55:21.267Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:55:21.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:21.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:21.526Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:21.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:21.526Z] [2023-02-14T23:55:21.526Z] Login Succeeded [2023-02-14T23:55:21.526Z] docker.io [2023-02-14T23:55:21.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:21.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:21.786Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:21.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:21.786Z] [2023-02-14T23:55:21.786Z] Login Succeeded [2023-02-14T23:55:21.786Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:55:21.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T23:55:22.399Z] + git rev-list -1 --merges 362d6874ee91c00a73543560bf42b68c66de4331~1..362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo [2023-02-14T23:55:22.459Z] -----------> git rev-list -1 --merges 362d6874ee91c00a73543560bf42b68c66de4331~1..362d6874ee91c00a73543560bf42b68c66de4331 362d6874ee91c00a73543560bf42b68c66de4331 [false] [Pipeline] sh [2023-02-14T23:55:22.776Z] + git log --format=format:%s -1 362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo [2023-02-14T23:55:22.816Z] ========================================================= [2023-02-14T23:55:22.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T23:55:22.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T23:55:23.332Z] + git log --format=format:%s -1 362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo [2023-02-14T23:55:23.371Z] [semverPrep] GIT_COMMIT: 362d6874ee91c00a73543560bf42b68c66de4331, Commit Message: feat!: updates for common config [Pipeline] echo [2023-02-14T23:55:23.402Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T23:55:23.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T23:55:23.791Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T23:55:23.791Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T23:55:23.791Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T23:55:23.791Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T23:55:23.791Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T23:55:23.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:55:24.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:55:24.219Z] [2023-02-14T23:55:24.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:55:24.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:55:25.172Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T23:55:25.172Z] b85a868b505f: Pulling fs layer [2023-02-14T23:55:25.172Z] e2be974225ed: Pulling fs layer [2023-02-14T23:55:25.172Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T23:55:25.172Z] 988bab9f4d93: Pulling fs layer [2023-02-14T23:55:25.172Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T23:55:25.172Z] eaf3925da568: Pulling fs layer [2023-02-14T23:55:25.172Z] bab4dde63d76: Pulling fs layer [2023-02-14T23:55:25.172Z] bde34c3a00c8: Pulling fs layer [2023-02-14T23:55:25.172Z] b352a97aabf1: Pulling fs layer [2023-02-14T23:55:25.172Z] 4872d77fe225: Pulling fs layer [2023-02-14T23:55:25.172Z] 5851b861e8e6: Pulling fs layer [2023-02-14T23:55:25.172Z] bab4dde63d76: Waiting [2023-02-14T23:55:25.172Z] bde34c3a00c8: Waiting [2023-02-14T23:55:25.172Z] b352a97aabf1: Waiting [2023-02-14T23:55:25.172Z] 4872d77fe225: Waiting [2023-02-14T23:55:25.172Z] 5851b861e8e6: Waiting [2023-02-14T23:55:25.172Z] 1469e6f7b9e6: Waiting [2023-02-14T23:55:25.172Z] eaf3925da568: Waiting [2023-02-14T23:55:25.172Z] 988bab9f4d93: Waiting [2023-02-14T23:55:25.172Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T23:55:25.172Z] 339a4e72a1f5: Download complete [2023-02-14T23:55:25.478Z] 988bab9f4d93: Verifying Checksum [2023-02-14T23:55:25.478Z] 988bab9f4d93: Download complete [2023-02-14T23:55:25.478Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T23:55:25.478Z] 1469e6f7b9e6: Download complete [2023-02-14T23:55:25.478Z] b85a868b505f: Verifying Checksum [2023-02-14T23:55:25.478Z] b85a868b505f: Download complete [2023-02-14T23:55:25.478Z] eaf3925da568: Verifying Checksum [2023-02-14T23:55:25.478Z] eaf3925da568: Download complete [2023-02-14T23:55:25.478Z] bde34c3a00c8: Verifying Checksum [2023-02-14T23:55:25.478Z] bde34c3a00c8: Download complete [2023-02-14T23:55:25.478Z] b352a97aabf1: Download complete [2023-02-14T23:55:25.478Z] 4872d77fe225: Verifying Checksum [2023-02-14T23:55:25.478Z] 5851b861e8e6: Verifying Checksum [2023-02-14T23:55:25.478Z] 5851b861e8e6: Download complete [2023-02-14T23:55:25.761Z] bab4dde63d76: Verifying Checksum [2023-02-14T23:55:25.761Z] bab4dde63d76: Download complete [2023-02-14T23:55:26.326Z] e2be974225ed: Verifying Checksum [2023-02-14T23:55:26.326Z] e2be974225ed: Download complete [2023-02-14T23:55:26.586Z] b85a868b505f: Pull complete [2023-02-14T23:55:26.847Z] e2be974225ed: Pull complete [2023-02-14T23:55:27.413Z] 339a4e72a1f5: Pull complete [2023-02-14T23:55:27.413Z] 988bab9f4d93: Pull complete [2023-02-14T23:55:27.672Z] 1469e6f7b9e6: Pull complete [2023-02-14T23:55:27.672Z] eaf3925da568: Pull complete [2023-02-14T23:55:29.573Z] bab4dde63d76: Pull complete [2023-02-14T23:55:29.573Z] bde34c3a00c8: Pull complete [2023-02-14T23:55:29.833Z] b352a97aabf1: Pull complete [2023-02-14T23:55:29.833Z] 4872d77fe225: Pull complete [2023-02-14T23:55:29.833Z] 5851b861e8e6: Pull complete [2023-02-14T23:55:29.833Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T23:55:29.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:55:29.833Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:55:30.055Z] prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container [2023-02-14T23:55:30.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T23:55:31.297Z] $ docker top 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 -eo pid,comm [2023-02-14T23:55:31.357Z] 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-02-14T23:55:31.357Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T23:55:31.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T23:55:31.488Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T23:55:31.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T23:55:31.615Z] $ docker exec 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent [2023-02-14T23:55:31.742Z] SSH_AUTH_SOCK=/tmp/ssh-yKLITSBxFLD0/agent.32 [2023-02-14T23:55:31.742Z] SSH_AGENT_PID=38 [2023-02-14T23:55:31.750Z] Running ssh-add (command line suppressed) [2023-02-14T23:55:31.856Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_14142073787983111861.key (/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_14142073787983111861.key) [2023-02-14T23:55:31.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T23:55:32.204Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T23:55:32.238Z] $ docker exec --env ******** --env ******** 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent -k [2023-02-14T23:55:32.349Z] unset SSH_AUTH_SOCK; [2023-02-14T23:55:32.349Z] unset SSH_AGENT_PID; [2023-02-14T23:55:32.349Z] echo Agent pid 38 killed; [2023-02-14T23:55:32.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T23:55:32.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T23:55:32.449Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T23:55:32.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T23:55:32.573Z] $ docker exec 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent [2023-02-14T23:55:32.676Z] SSH_AUTH_SOCK=/tmp/ssh-V9eRUsnkKb5s/agent.70 [2023-02-14T23:55:32.676Z] SSH_AGENT_PID=76 [2023-02-14T23:55:32.681Z] Running ssh-add (command line suppressed) [2023-02-14T23:55:32.790Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_15798336589420935234.key (/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_15798336589420935234.key) [2023-02-14T23:55:32.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T23:55:33.132Z] + git semver init [2023-02-14T23:55:33.392Z] 2023-02-14 23:55:33,325 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T23:55:33.392Z] 2023-02-14 23:55:33,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver [2023-02-14T23:55:33.392Z] 2023-02-14 23:55:33,326 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-251/.semver [2023-02-14T23:55:33.392Z] 2023-02-14 23:55:33,326 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-251/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251, universal_newlines=False, shell=None, istream=None) [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,412 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-251/.git/info/exclude [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,412 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 with force:False [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,413 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,415 [execute] INFO git cat-file --batch-check [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,421 [execute] INFO git cat-file --batch [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T23:55:34.772Z] 2023-02-14 23:55:34,427 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 [2023-02-14T23:55:34.772Z] 0.0.0 [Pipeline] } [2023-02-14T23:55:34.803Z] $ docker exec --env ******** --env ******** 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent -k [2023-02-14T23:55:34.913Z] unset SSH_AUTH_SOCK; [2023-02-14T23:55:34.914Z] unset SSH_AGENT_PID; [2023-02-14T23:55:34.914Z] echo Agent pid 76 killed; [2023-02-14T23:55:34.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T23:55:35.353Z] + git semver [Pipeline] } [2023-02-14T23:55:35.640Z] $ docker stop --time=1 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 [2023-02-14T23:55:36.956Z] $ docker rm -f --volumes 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T23:55:37.358Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T23:55:37.684Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T23:55:37.704Z] [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-02-14T23:55:38.299Z] provisioning config files... [2023-02-14T23:55:38.309Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config1719051137976899580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:55:38.662Z] ---> docker-login.sh [2023-02-14T23:55:38.662Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:55:38.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:38.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:38.662Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:38.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:38.662Z] [2023-02-14T23:55:38.662Z] Login Succeeded [2023-02-14T23:55:38.662Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:55:38.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:38.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:38.662Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:38.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:38.662Z] [2023-02-14T23:55:38.662Z] Login Succeeded [2023-02-14T23:55:38.662Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:55:38.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:38.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:38.921Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:38.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:38.921Z] [2023-02-14T23:55:38.921Z] Login Succeeded [2023-02-14T23:55:38.921Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:55:38.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:38.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:38.921Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:38.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:38.921Z] [2023-02-14T23:55:38.921Z] Login Succeeded [2023-02-14T23:55:38.921Z] docker.io [2023-02-14T23:55:39.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:55:39.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:55:39.440Z] Configure a credential helper to remove this warning. See [2023-02-14T23:55:39.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:55:39.440Z] [2023-02-14T23:55:39.440Z] Login Succeeded [2023-02-14T23:55:39.440Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:55:39.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T23:55:39.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:55:39.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:55:39.733Z] ========================================================= [2023-02-14T23:55:39.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T23:55:39.733Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:55:40.214Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T23:55:40.215Z] Sending build context to Docker daemon 10.83MB [2023-02-14T23:55:40.215Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:55:40.215Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T23:55:40.215Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T23:55:40.215Z] 213ec9aee27d: Pulling fs layer [2023-02-14T23:55:40.215Z] 4583459ba037: Pulling fs layer [2023-02-14T23:55:40.215Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T23:55:40.215Z] 53926ce57604: Pulling fs layer [2023-02-14T23:55:40.215Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T23:55:40.215Z] 22ff95d597cd: Pulling fs layer [2023-02-14T23:55:40.215Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T23:55:40.215Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T23:55:40.215Z] a7acece74701: Pulling fs layer [2023-02-14T23:55:40.215Z] 53926ce57604: Waiting [2023-02-14T23:55:40.215Z] 21b2b0c7a3f4: Waiting [2023-02-14T23:55:40.215Z] 22ff95d597cd: Waiting [2023-02-14T23:55:40.215Z] 12d6caf4c0d1: Waiting [2023-02-14T23:55:40.215Z] 96b7cbca73a9: Waiting [2023-02-14T23:55:40.215Z] a7acece74701: Waiting [2023-02-14T23:55:40.476Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T23:55:40.476Z] 93c1e223e6f2: Download complete [2023-02-14T23:55:40.476Z] 4583459ba037: Download complete [2023-02-14T23:55:40.476Z] 21b2b0c7a3f4: Download complete [2023-02-14T23:55:40.476Z] 22ff95d597cd: Verifying Checksum [2023-02-14T23:55:40.476Z] 22ff95d597cd: Download complete [2023-02-14T23:55:40.476Z] 213ec9aee27d: Verifying Checksum [2023-02-14T23:55:40.476Z] 213ec9aee27d: Download complete [2023-02-14T23:55:40.476Z] 12d6caf4c0d1: Download complete [2023-02-14T23:55:40.743Z] 213ec9aee27d: Pull complete [2023-02-14T23:55:40.743Z] 4583459ba037: Pull complete [2023-02-14T23:55:40.743Z] 93c1e223e6f2: Pull complete [2023-02-14T23:55:41.737Z] a7acece74701: Verifying Checksum [2023-02-14T23:55:41.737Z] a7acece74701: Download complete [2023-02-14T23:55:41.737Z] 53926ce57604: Verifying Checksum [2023-02-14T23:55:41.737Z] 53926ce57604: Download complete [2023-02-14T23:55:41.999Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T23:55:41.999Z] 96b7cbca73a9: Download complete [2023-02-14T23:55:46.186Z] 53926ce57604: Pull complete [2023-02-14T23:55:46.187Z] 21b2b0c7a3f4: Pull complete [2023-02-14T23:55:46.187Z] 22ff95d597cd: Pull complete [2023-02-14T23:55:46.187Z] 12d6caf4c0d1: Pull complete [2023-02-14T23:55:48.087Z] 96b7cbca73a9: Pull complete [2023-02-14T23:55:48.653Z] a7acece74701: Pull complete [2023-02-14T23:55:48.653Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T23:55:48.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T23:55:48.653Z] ---> db6d94c90886 [2023-02-14T23:55:48.653Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T23:55:50.032Z] ---> Running in af14e499153a [2023-02-14T23:55:50.294Z] Removing intermediate container af14e499153a [2023-02-14T23:55:50.294Z] ---> 4fd056802439 [2023-02-14T23:55:50.294Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T23:55:50.294Z] ---> Running in 26a946e9239e [2023-02-14T23:55:50.294Z] Removing intermediate container 26a946e9239e [2023-02-14T23:55:50.294Z] ---> 1348479fa0fd [2023-02-14T23:55:50.294Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T23:55:50.294Z] ---> Running in f6c075e0ce10 [2023-02-14T23:55:50.552Z] Removing intermediate container f6c075e0ce10 [2023-02-14T23:55:50.552Z] ---> 536979839812 [2023-02-14T23:55:50.552Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T23:55:50.552Z] ---> Running in d1629974945e [2023-02-14T23:55:50.552Z] Removing intermediate container d1629974945e [2023-02-14T23:55:50.552Z] ---> 6eeb0b391af4 [2023-02-14T23:55:50.552Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T23:55:50.552Z] ---> Running in 0effb571d5e8 [2023-02-14T23:55:50.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:55:50.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:55:51.069Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T23:55:51.069Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T23:55:51.069Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T23:55:51.069Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T23:55:51.328Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T23:55:51.328Z] OK: 216 MiB in 55 packages [2023-02-14T23:55:51.586Z] Removing intermediate container 0effb571d5e8 [2023-02-14T23:55:51.586Z] ---> 738f7cddb89c [2023-02-14T23:55:51.586Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-14T23:55:51.586Z] ---> Running in 7ab15a4d0924 [2023-02-14T23:55:51.586Z] Removing intermediate container 7ab15a4d0924 [2023-02-14T23:55:51.586Z] ---> c48e445df7e3 [2023-02-14T23:55:51.586Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-14T23:55:51.846Z] ---> 624ffd8ee848 [2023-02-14T23:55:51.846Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:55:51.846Z] ---> Running in 0b60d706f6fb [2023-02-14T23:55:53.124Z] Still waiting to schedule task [2023-02-14T23:55:53.124Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-14T23:56:30.568Z] Removing intermediate container 0b60d706f6fb [2023-02-14T23:56:30.568Z] ---> f5984022f285 [2023-02-14T23:56:30.568Z] Step 11/12 : COPY . . [2023-02-14T23:56:30.568Z] ---> 727b3e3aac67 [2023-02-14T23:56:30.568Z] Step 12/12 : RUN $MAKE [2023-02-14T23:56:30.568Z] ---> Running in 6f73c7b807f6 [2023-02-14T23:56:30.568Z] noop [2023-02-14T23:56:30.568Z] Removing intermediate container 6f73c7b807f6 [2023-02-14T23:56:30.568Z] ---> 9d6aefc8cd46 [2023-02-14T23:56:30.568Z] Successfully built 9d6aefc8cd46 [2023-02-14T23:56:30.568Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:56:31.043Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T23:56:31.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:56:31.198Z] prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container [2023-02-14T23:56:31.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T23:56:31.588Z] $ docker top 82a48f4bee70d5a8cbb6cdf67c29630851d8e258ccb2211863a86a43b8e9a494 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:56:31.982Z] + go version [2023-02-14T23:56:31.982Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T23:56:32.016Z] $ docker stop --time=1 82a48f4bee70d5a8cbb6cdf67c29630851d8e258ccb2211863a86a43b8e9a494 [2023-02-14T23:56:33.338Z] $ docker rm -f --volumes 82a48f4bee70d5a8cbb6cdf67c29630851d8e258ccb2211863a86a43b8e9a494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:56:34.044Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T23:56:34.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:56:34.184Z] prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container [2023-02-14T23:56:34.216Z] $ 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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T23:56:34.573Z] $ docker top 107cb801a881520264c58d99ccc6eb9732552d9196eb532f66c61309e5b53ecb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:56:34.969Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-251 [Pipeline] fileExists [Pipeline] sh [2023-02-14T23:56:35.331Z] + make test [2023-02-14T23:56:35.332Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T23:56:35.896Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-14T23:56:45.857Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-14T23:56:45.857Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements [2023-02-14T23:56:53.963Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T23:56:53.963Z] go vet ./... [2023-02-14T23:56:56.209Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5928 in /w/workspace/gexfoundry_device-rest-go_PR-251 [Pipeline] { [Pipeline] ws [2023-02-14T23:56:56.273Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T23:56:56.352Z] The recommended git tool is: git [2023-02-14T23:56:56.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T23:56:56.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T23:56:56.489Z] ./bin/test-attribution-txt.sh [2023-02-14T23:56:56.489Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T23:56:56.489Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T23:56:56.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T23:56:56.557Z] $ docker stop --time=1 107cb801a881520264c58d99ccc6eb9732552d9196eb532f66c61309e5b53ecb [2023-02-14T23:56:58.121Z] $ docker rm -f --volumes 107cb801a881520264c58d99ccc6eb9732552d9196eb532f66c61309e5b53ecb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T23:56:58.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T23:56:58.719Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T23:56:59.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T23:56:59.699Z] + ls -al . [2023-02-14T23:56:59.699Z] total 188 [2023-02-14T23:56:59.699Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 23:56 . [2023-02-14T23:56:59.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:55 .. [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 14 23:55 .dockerignore [2023-02-14T23:56:59.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:56 .git [2023-02-14T23:56:59.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:55 .github [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 14 23:55 .gitignore [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 23:55 .golangci.yml [2023-02-14T23:56:59.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:55 .semver [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 14 23:55 Attribution.txt [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 14 23:55 CHANGELOG.md [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 14 23:55 Dockerfile [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:55 GOVERNANCE.md [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 23:55 Jenkinsfile [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 23:55 LICENSE [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 14 23:55 Makefile [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 14 23:55 OWNERS.md [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 14 23:55 README.md [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:55 VERSION [2023-02-14T23:56:59.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:55 bin [2023-02-14T23:56:59.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:55 cmd [2023-02-14T23:56:59.699Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 14 23:56 coverage.out [2023-02-14T23:56:59.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:55 driver [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 14 23:55 go.mod [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 14 23:55 go.sum [2023-02-14T23:56:59.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:55 snap [2023-02-14T23:56:59.699Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 14 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:57:00.090Z] + 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=362d6874ee91c00a73543560bf42b68c66de4331 --label arch=amd64 --label version=0.0.0 . [2023-02-14T23:57:00.090Z] Sending build context to Docker daemon 10.84MB [2023-02-14T23:57:00.090Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:57:00.090Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-14T23:57:00.090Z] ---> 9d6aefc8cd46 [2023-02-14T23:57:00.090Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-14T23:57:00.090Z] ---> Running in 44527f296a20 [2023-02-14T23:57:00.090Z] Removing intermediate container 44527f296a20 [2023-02-14T23:57:00.090Z] ---> cfbdc8108da4 [2023-02-14T23:57:00.090Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T23:57:00.350Z] ---> Running in e7cc6fd7c0e5 [2023-02-14T23:57:00.350Z] Removing intermediate container e7cc6fd7c0e5 [2023-02-14T23:57:00.350Z] ---> 2b2e92ca0818 [2023-02-14T23:57:00.350Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T23:57:00.350Z] ---> Running in 6becf6587d8f [2023-02-14T23:57:00.350Z] Removing intermediate container 6becf6587d8f [2023-02-14T23:57:00.350Z] ---> 3e512e79caec [2023-02-14T23:57:00.350Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T23:57:00.350Z] ---> Running in 662506adda10 [2023-02-14T23:57:00.610Z] Removing intermediate container 662506adda10 [2023-02-14T23:57:00.610Z] ---> fc11e9277986 [2023-02-14T23:57:00.610Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T23:57:00.610Z] ---> Running in 5a2817ebea42 [2023-02-14T23:57:00.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:57:00.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:57:01.127Z] OK: 216 MiB in 55 packages [2023-02-14T23:57:01.692Z] Removing intermediate container 5a2817ebea42 [2023-02-14T23:57:01.692Z] ---> a72d0494fa01 [2023-02-14T23:57:01.692Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-14T23:57:01.692Z] ---> Running in 260b697aa9fa [2023-02-14T23:57:01.693Z] Removing intermediate container 260b697aa9fa [2023-02-14T23:57:01.693Z] ---> 41c6039a4c56 [2023-02-14T23:57:01.693Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-14T23:57:01.693Z] ---> 3c7f63aa7265 [2023-02-14T23:57:01.693Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:57:01.693Z] ---> Running in f6d96c119f87 [2023-02-14T23:57:01.918Z] using credential edgex-jenkins-ssh [2023-02-14T23:57:01.944Z] Cloning the remote Git repository [2023-02-14T23:57:01.989Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-14T23:57:02.071Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-14T23:57:02.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-14T23:57:02.249Z] > git --version # timeout=10 [2023-02-14T23:57:02.270Z] > git --version # 'git version 2.25.1' [2023-02-14T23:57:02.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T23:57:02.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T23:57:02.632Z] Removing intermediate container f6d96c119f87 [2023-02-14T23:57:02.632Z] ---> a8e0320b45eb [2023-02-14T23:57:02.632Z] Step 11/25 : COPY . . [2023-02-14T23:57:02.891Z] ---> 38191810bbe8 [2023-02-14T23:57:02.891Z] Step 12/25 : RUN $MAKE [2023-02-14T23:57:02.891Z] ---> Running in a60ff6b4002d [2023-02-14T23:57:03.151Z] 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-02-14T23:57:04.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-14T23:57:04.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T23:57:06.214Z] Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit 362d6874ee91c00a73543560bf42b68c66de4331 [2023-02-14T23:57:06.449Z] Merge succeeded, producing 362d6874ee91c00a73543560bf42b68c66de4331 [2023-02-14T23:57:06.449Z] Checking out Revision 362d6874ee91c00a73543560bf42b68c66de4331 (PR-251) [2023-02-14T23:57:05.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-14T23:57:05.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-14T23:57:05.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T23:57:05.556Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T23:57:06.235Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T23:57:06.254Z] > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 [2023-02-14T23:57:06.341Z] > git remote # timeout=10 [2023-02-14T23:57:06.361Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T23:57:06.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T23:57:06.393Z] > git merge b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 [2023-02-14T23:57:06.426Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T23:57:06.455Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T23:57:06.469Z] > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 [2023-02-14T23:57:10.020Z] Commit message: "feat!: updates for common config" [2023-02-14T23:57:10.084Z] > git --version # timeout=10 [2023-02-14T23:57:10.097Z] > git --version # 'git version 2.25.1' [2023-02-14T23:57:10.123Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T23:57:11.315Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T23:57:11.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T23:57:11.316Z] Dload Upload Total Spent Left Speed [2023-02-14T23:57:11.316Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2023-02-14T23:57:12.088Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T23:57:12.439Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T23:57:12.439Z] + sudo tee /etc/docker/daemon.new [2023-02-14T23:57:12.439Z] { [2023-02-14T23:57:12.439Z] "registry-mirrors": [ [2023-02-14T23:57:12.439Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T23:57:12.439Z] ], [2023-02-14T23:57:12.439Z] "bip": "10.250.0.254/24", [2023-02-14T23:57:12.439Z] "hosts": [ [2023-02-14T23:57:12.439Z] "tcp://0.0.0.0:5555", [2023-02-14T23:57:12.439Z] "unix:///var/run/docker.sock" [2023-02-14T23:57:12.439Z] ], [2023-02-14T23:57:12.439Z] "mtu": 1458, [2023-02-14T23:57:12.439Z] "selinux-enabled": true, [2023-02-14T23:57:12.439Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T23:57:12.439Z] } [Pipeline] sh [2023-02-14T23:57:12.785Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T23:57:13.133Z] + sudo service docker restart [2023-02-14T23:57:21.232Z] Removing intermediate container a60ff6b4002d [2023-02-14T23:57:21.232Z] ---> dbfeb03bb6cd [2023-02-14T23:57:21.232Z] Step 13/25 : FROM alpine:3.16 [2023-02-14T23:57:21.799Z] 3.16: Pulling from library/alpine [2023-02-14T23:57:21.799Z] ef5531b6e74e: Pulling fs layer [2023-02-14T23:57:22.057Z] ef5531b6e74e: Verifying Checksum [2023-02-14T23:57:22.057Z] ef5531b6e74e: Download complete [2023-02-14T23:57:22.057Z] ef5531b6e74e: Pull complete [2023-02-14T23:57:22.057Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T23:57:22.057Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T23:57:22.057Z] ---> dfd21b5a31f5 [2023-02-14T23:57:22.057Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T23:57:22.057Z] ---> Running in 3f9ed15fab66 [2023-02-14T23:57:22.315Z] Removing intermediate container 3f9ed15fab66 [2023-02-14T23:57:22.315Z] ---> 2a4f88fa2920 [2023-02-14T23:57:22.315Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-14T23:57:22.315Z] ---> Running in 81d6cd316737 [2023-02-14T23:57:22.315Z] Removing intermediate container 81d6cd316737 [2023-02-14T23:57:22.315Z] ---> 12f0e7bd9002 [2023-02-14T23:57:22.315Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-14T23:57:22.315Z] ---> Running in fc796a12fb47 [2023-02-14T23:57:22.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:57:22.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:57:22.832Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T23:57:22.832Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T23:57:22.832Z] OK: 6 MiB in 15 packages [2023-02-14T23:57:23.090Z] Removing intermediate container fc796a12fb47 [2023-02-14T23:57:23.090Z] ---> 25ea52112281 [2023-02-14T23:57:23.090Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-14T23:57:23.658Z] ---> 0229c4cd3fbe [2023-02-14T23:57:23.658Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-14T23:57:23.658Z] ---> ae4a527b792a [2023-02-14T23:57:23.658Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-14T23:57:23.916Z] ---> c29a86f44070 [2023-02-14T23:57:23.916Z] Step 20/25 : EXPOSE 59986 [2023-02-14T23:57:23.916Z] ---> Running in d2cf563f6248 [2023-02-14T23:57:23.916Z] Removing intermediate container d2cf563f6248 [2023-02-14T23:57:23.916Z] ---> 51e3b0875a3c [2023-02-14T23:57:23.916Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-14T23:57:23.916Z] ---> Running in d10d0a664242 [2023-02-14T23:57:24.174Z] Removing intermediate container d10d0a664242 [2023-02-14T23:57:24.174Z] ---> e68e05c6e8bd [2023-02-14T23:57:24.174Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-14T23:57:24.174Z] ---> Running in 6bb48817bbeb [2023-02-14T23:57:24.174Z] Removing intermediate container 6bb48817bbeb [2023-02-14T23:57:24.174Z] ---> d36a1069a5fe [2023-02-14T23:57:24.174Z] Step 23/25 : LABEL arch=amd64 [2023-02-14T23:57:24.174Z] ---> Running in f917e06e7364 [2023-02-14T23:57:24.174Z] Removing intermediate container f917e06e7364 [2023-02-14T23:57:24.174Z] ---> 7d6df1944234 [2023-02-14T23:57:24.174Z] Step 24/25 : LABEL git_sha=362d6874ee91c00a73543560bf42b68c66de4331 [2023-02-14T23:57:24.174Z] ---> Running in ad3c817b668a [2023-02-14T23:57:24.434Z] Removing intermediate container ad3c817b668a [2023-02-14T23:57:24.434Z] ---> 0dfa01f9d2d5 [2023-02-14T23:57:24.434Z] Step 25/25 : LABEL version=0.0.0 [2023-02-14T23:57:24.434Z] ---> Running in eed8834f793b [2023-02-14T23:57:24.434Z] Removing intermediate container eed8834f793b [2023-02-14T23:57:24.434Z] ---> 9812b2397bc2 [2023-02-14T23:57:24.434Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T23:57:24.434Z] Successfully built 9812b2397bc2 [2023-02-14T23:57:24.434Z] 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-02-14T23:57:25.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T23:57:25.285Z] [2023-02-14T23:57:25.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:57:25.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T23:57:25.656Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T23:57:25.656Z] 5eb5b503b376: Pulling fs layer [2023-02-14T23:57:25.656Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T23:57:25.656Z] ec43610c2a17: Pulling fs layer [2023-02-14T23:57:25.656Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T23:57:25.656Z] 33b1e0a273af: Pulling fs layer [2023-02-14T23:57:25.656Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T23:57:25.656Z] 2f39f015ded8: Pulling fs layer [2023-02-14T23:57:25.656Z] 3a2ae6a8a46f: Waiting [2023-02-14T23:57:25.656Z] 33b1e0a273af: Waiting [2023-02-14T23:57:25.656Z] 5d3b04190fa2: Waiting [2023-02-14T23:57:25.656Z] 2f39f015ded8: Waiting [2023-02-14T23:57:25.656Z] 5c69ac0246d0: Download complete [2023-02-14T23:57:25.656Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T23:57:25.656Z] 3a2ae6a8a46f: Download complete [2023-02-14T23:57:25.922Z] ec43610c2a17: Verifying Checksum [2023-02-14T23:57:25.922Z] ec43610c2a17: Download complete [2023-02-14T23:57:25.922Z] 33b1e0a273af: Verifying Checksum [2023-02-14T23:57:25.922Z] 33b1e0a273af: Download complete [2023-02-14T23:57:25.922Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T23:57:25.922Z] 5d3b04190fa2: Download complete [2023-02-14T23:57:26.181Z] 5eb5b503b376: Verifying Checksum [2023-02-14T23:57:26.181Z] 5eb5b503b376: Download complete [2023-02-14T23:57:26.747Z] 2f39f015ded8: Download complete [2023-02-14T23:57:27.312Z] 5eb5b503b376: Pull complete [2023-02-14T23:57:27.312Z] 5c69ac0246d0: Pull complete [2023-02-14T23:57:27.880Z] ec43610c2a17: Pull complete [2023-02-14T23:57:27.880Z] 3a2ae6a8a46f: Pull complete [2023-02-14T23:57:28.137Z] 33b1e0a273af: Pull complete [2023-02-14T23:57:28.137Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T23:57:31.484Z] provisioning config files... [2023-02-14T23:57:31.513Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10001607549460296105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:57:31.915Z] ---> docker-login.sh [2023-02-14T23:57:31.915Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:57:32.316Z] 2f39f015ded8: Pull complete [2023-02-14T23:57:32.316Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T23:57:32.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T23:57:32.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:57:32.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:32.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:32.503Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:32.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:32.503Z] [2023-02-14T23:57:32.503Z] Login Succeeded [2023-02-14T23:57:32.503Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:57:32.538Z] prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container [2023-02-14T23:57:32.568Z] $ 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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T23:57:32.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:32.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:32.778Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:32.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:32.778Z] [2023-02-14T23:57:32.778Z] Login Succeeded [2023-02-14T23:57:32.778Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:57:33.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:33.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:33.317Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:33.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:33.317Z] [2023-02-14T23:57:33.317Z] Login Succeeded [2023-02-14T23:57:33.317Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:57:33.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:33.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:33.593Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:33.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:33.593Z] [2023-02-14T23:57:33.593Z] Login Succeeded [2023-02-14T23:57:33.593Z] docker.io [2023-02-14T23:57:33.843Z] $ docker top 4a709fa867e34474f9ac0e863c34af21195bbb642b0c1dab77e41c02d1b45b65 -eo pid,comm [2023-02-14T23:57:33.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:57:34.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:34.129Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:34.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:34.129Z] [2023-02-14T23:57:34.129Z] Login Succeeded [2023-02-14T23:57:34.129Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:57:34.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-02-14T23:57:34.366Z] ---> job-cost.sh [2023-02-14T23:57:34.366Z] lf-activate-venv: SKIPPING [2023-02-14T23:57:34.366Z] INFO: No Stack... [Pipeline] echo [2023-02-14T23:57:34.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:57:34.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:57:34.630Z] ========================================================= [2023-02-14T23:57:34.630Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T23:57:34.630Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:57:34.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T23:57:35.124Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T23:57:35.192Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T23:57:35.508Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-251/archives/cost.csv [2023-02-14T23:57:35.508Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T23:57:35.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [2023-02-14T23:57:35.555Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] did not exist. Created. [2023-02-14T23:57:35.556Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T23:57:35.941Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T23:57:35.991Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T23:57:36.021Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T23:57:36.097Z] $ docker stop --time=1 4a709fa867e34474f9ac0e863c34af21195bbb642b0c1dab77e41c02d1b45b65 [2023-02-14T23:57:36.544Z] Sending build context to Docker daemon 139.8kB [2023-02-14T23:57:36.812Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:57:36.812Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T23:57:37.082Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T23:57:37.082Z] 9b18e9b68314: Pulling fs layer [2023-02-14T23:57:37.082Z] 35d82f9e3411: Pulling fs layer [2023-02-14T23:57:37.082Z] e16973657156: Pulling fs layer [2023-02-14T23:57:37.082Z] fc693d55d65f: Pulling fs layer [2023-02-14T23:57:37.082Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T23:57:37.082Z] dda99020689f: Pulling fs layer [2023-02-14T23:57:37.082Z] db1c61fa0a46: Pulling fs layer [2023-02-14T23:57:37.082Z] 891c053d2c06: Pulling fs layer [2023-02-14T23:57:37.082Z] dda99020689f: Waiting [2023-02-14T23:57:37.082Z] db1c61fa0a46: Waiting [2023-02-14T23:57:37.082Z] 891c053d2c06: Waiting [2023-02-14T23:57:37.082Z] fc693d55d65f: Waiting [2023-02-14T23:57:37.082Z] 7e9fc2657dce: Waiting [2023-02-14T23:57:37.082Z] e16973657156: Verifying Checksum [2023-02-14T23:57:37.082Z] e16973657156: Download complete [2023-02-14T23:57:37.082Z] 35d82f9e3411: Download complete [2023-02-14T23:57:37.082Z] 7e9fc2657dce: Verifying Checksum [2023-02-14T23:57:37.082Z] 7e9fc2657dce: Download complete [2023-02-14T23:57:37.082Z] dda99020689f: Verifying Checksum [2023-02-14T23:57:37.082Z] dda99020689f: Download complete [2023-02-14T23:57:37.082Z] 9b18e9b68314: Verifying Checksum [2023-02-14T23:57:37.263Z] $ docker rm -f --volumes 4a709fa867e34474f9ac0e863c34af21195bbb642b0c1dab77e41c02d1b45b65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T23:57:38.062Z] 9b18e9b68314: Pull complete [2023-02-14T23:57:38.333Z] 891c053d2c06: Verifying Checksum [2023-02-14T23:57:38.333Z] 891c053d2c06: Download complete [2023-02-14T23:57:38.604Z] 35d82f9e3411: Pull complete [2023-02-14T23:57:38.901Z] e16973657156: Pull complete [2023-02-14T23:57:39.486Z] db1c61fa0a46: Verifying Checksum [2023-02-14T23:57:40.072Z] fc693d55d65f: Verifying Checksum [2023-02-14T23:57:40.072Z] fc693d55d65f: Download complete [2023-02-14T23:57:52.387Z] fc693d55d65f: Pull complete [2023-02-14T23:57:52.387Z] 7e9fc2657dce: Pull complete [2023-02-14T23:57:52.387Z] dda99020689f: Pull complete [2023-02-14T23:57:56.665Z] db1c61fa0a46: Pull complete [2023-02-14T23:57:58.627Z] 891c053d2c06: Pull complete [2023-02-14T23:57:58.627Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T23:57:58.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T23:57:58.627Z] ---> f96f9c87975a [2023-02-14T23:57:58.627Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T23:57:59.211Z] ---> Running in e11b5e9d31c5 [2023-02-14T23:57:59.480Z] Removing intermediate container e11b5e9d31c5 [2023-02-14T23:57:59.480Z] ---> 5903c19cdfd5 [2023-02-14T23:57:59.480Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T23:57:59.480Z] ---> Running in 0b7fecc27b8c [2023-02-14T23:57:59.748Z] Removing intermediate container 0b7fecc27b8c [2023-02-14T23:57:59.748Z] ---> e7b0a33c3f78 [2023-02-14T23:57:59.748Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T23:57:59.748Z] ---> Running in c73b91a93d40 [2023-02-14T23:58:00.021Z] Removing intermediate container c73b91a93d40 [2023-02-14T23:58:00.021Z] ---> aefc8640a245 [2023-02-14T23:58:00.021Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T23:58:00.295Z] ---> Running in d9a9ea2db087 [2023-02-14T23:58:00.560Z] Removing intermediate container d9a9ea2db087 [2023-02-14T23:58:00.560Z] ---> cabecacf15cf [2023-02-14T23:58:00.560Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T23:58:00.560Z] ---> Running in 7a6c072818d8 [2023-02-14T23:58:01.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T23:58:01.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T23:58:03.193Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T23:58:03.460Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T23:58:03.460Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T23:58:03.460Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T23:58:03.460Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T23:58:03.460Z] OK: 226 MiB in 55 packages [2023-02-14T23:58:04.878Z] Removing intermediate container 7a6c072818d8 [2023-02-14T23:58:04.878Z] ---> cc90827c7036 [2023-02-14T23:58:04.878Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-14T23:58:04.878Z] ---> Running in 18a444157a56 [2023-02-14T23:58:04.878Z] Removing intermediate container 18a444157a56 [2023-02-14T23:58:04.878Z] ---> 26b22d22b4f9 [2023-02-14T23:58:04.878Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-14T23:58:05.480Z] ---> 315c080218c4 [2023-02-14T23:58:05.480Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:58:05.480Z] ---> Running in 0a5e7b848e73 [2023-02-14T23:59:27.128Z] Removing intermediate container 0a5e7b848e73 [2023-02-14T23:59:27.128Z] ---> 587ee0bb5f24 [2023-02-14T23:59:27.128Z] Step 11/12 : COPY . . [2023-02-14T23:59:27.128Z] ---> fc5f9f7dc564 [2023-02-14T23:59:27.128Z] Step 12/12 : RUN $MAKE [2023-02-14T23:59:27.128Z] ---> Running in 69fbcc359a3a [2023-02-14T23:59:27.128Z] noop [2023-02-14T23:59:27.128Z] Removing intermediate container 69fbcc359a3a [2023-02-14T23:59:27.128Z] ---> 1363ada400df [2023-02-14T23:59:27.128Z] Successfully built 1363ada400df [2023-02-14T23:59:27.128Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:27.614Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T23:59:27.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:59:27.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-5928 does not seem to be running inside a container [2023-02-14T23:59:27.924Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T23:59:29.185Z] $ docker top dcf1862da4b603a58b377500c440ab3e664f23c9d8dedc4a6ad07943de960863 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:59:30.052Z] + go version [2023-02-14T23:59:30.052Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T23:59:30.087Z] $ docker stop --time=1 dcf1862da4b603a58b377500c440ab3e664f23c9d8dedc4a6ad07943de960863 [2023-02-14T23:59:33.248Z] $ docker rm -f --volumes dcf1862da4b603a58b377500c440ab3e664f23c9d8dedc4a6ad07943de960863 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:34.122Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T23:59:34.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:59:34.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-5928 does not seem to be running inside a container [2023-02-14T23:59:34.456Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T23:59:35.727Z] $ docker top 353742efb66db87d6b27c51f6538feab2d9a73fe9fb08d207eece086a0549d1f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:59:36.630Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T23:59:37.340Z] + make test [2023-02-14T23:59:37.340Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T23:59:39.285Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:01:15.963Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:01:15.963Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.9% of statements [2023-02-15T00:01:15.963Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:01:15.963Z] go vet ./... [2023-02-15T00:01:54.921Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:01:54.921Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:01:54.921Z] ./bin/test-attribution-txt.sh [2023-02-15T00:01:54.921Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:01:54.921Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:01:54.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:01:54.999Z] $ docker stop --time=1 353742efb66db87d6b27c51f6538feab2d9a73fe9fb08d207eece086a0549d1f [2023-02-15T00:01:56.889Z] $ docker rm -f --volumes 353742efb66db87d6b27c51f6538feab2d9a73fe9fb08d207eece086a0549d1f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:01:57.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:01:58.031Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:01:58.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:01:59.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:01:59.496Z] + ls -al . [2023-02-15T00:01:59.496Z] total 184 [2023-02-15T00:01:59.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:59 . [2023-02-15T00:01:59.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:57 .. [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 14 23:57 .dockerignore [2023-02-15T00:01:59.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:57 .git [2023-02-15T00:01:59.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:57 .github [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 14 23:57 .gitignore [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 23:57 .golangci.yml [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 14 23:57 Attribution.txt [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 14 23:57 CHANGELOG.md [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 14 23:57 Dockerfile [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:57 GOVERNANCE.md [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 23:57 Jenkinsfile [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 23:57 LICENSE [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 14 23:57 Makefile [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 14 23:57 OWNERS.md [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 14 23:57 README.md [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:55 VERSION [2023-02-15T00:01:59.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:57 bin [2023-02-15T00:01:59.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:57 cmd [2023-02-15T00:01:59.496Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:01 coverage.out [2023-02-15T00:01:59.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:57 driver [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 14 23:57 go.mod [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 14 23:57 go.sum [2023-02-15T00:01:59.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:57 snap [2023-02-15T00:01:59.496Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 14 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:01:59.928Z] + 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=362d6874ee91c00a73543560bf42b68c66de4331 --label arch=arm64 --label version=0.0.0 . [2023-02-15T00:01:59.928Z] Sending build context to Docker daemon 154.1kB [2023-02-15T00:02:00.198Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:02:00.198Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:02:00.198Z] ---> 1363ada400df [2023-02-15T00:02:00.198Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:02:00.198Z] ---> Running in f01371a45983 [2023-02-15T00:02:00.798Z] Removing intermediate container f01371a45983 [2023-02-15T00:02:00.798Z] ---> 1045365b08ce [2023-02-15T00:02:00.798Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:02:00.798Z] ---> Running in c4f03129ea8f [2023-02-15T00:02:01.068Z] Removing intermediate container c4f03129ea8f [2023-02-15T00:02:01.068Z] ---> 220ed841fe7f [2023-02-15T00:02:01.068Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:02:01.338Z] ---> Running in 556ef6325557 [2023-02-15T00:02:01.610Z] Removing intermediate container 556ef6325557 [2023-02-15T00:02:01.610Z] ---> 7e104786fd77 [2023-02-15T00:02:01.610Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:02:01.610Z] ---> Running in 3def182aab56 [2023-02-15T00:02:01.880Z] Removing intermediate container 3def182aab56 [2023-02-15T00:02:01.880Z] ---> 376696b19507 [2023-02-15T00:02:01.880Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:02:02.150Z] ---> Running in fc9f4a51f9fe [2023-02-15T00:02:03.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:02:03.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:02:05.129Z] OK: 226 MiB in 55 packages [2023-02-15T00:02:06.117Z] Removing intermediate container fc9f4a51f9fe [2023-02-15T00:02:06.117Z] ---> f318ee72669d [2023-02-15T00:02:06.117Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:02:06.117Z] ---> Running in e160f33b1e4d [2023-02-15T00:02:06.388Z] Removing intermediate container e160f33b1e4d [2023-02-15T00:02:06.388Z] ---> 8630b1b48526 [2023-02-15T00:02:06.388Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:02:09.753Z] ---> b89f4d179994 [2023-02-15T00:02:09.754Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:02:10.024Z] ---> Running in c3e90a321ed1 [2023-02-15T00:02:13.528Z] Removing intermediate container c3e90a321ed1 [2023-02-15T00:02:13.528Z] ---> cbf53bf5f35c [2023-02-15T00:02:13.528Z] Step 11/25 : COPY . . [2023-02-15T00:02:13.814Z] ---> d4cc7f588b48 [2023-02-15T00:02:13.814Z] Step 12/25 : RUN $MAKE [2023-02-15T00:02:13.814Z] ---> Running in 56fba6feeba1 [2023-02-15T00:02:14.808Z] 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-02-15T00:04:51.691Z] Removing intermediate container 56fba6feeba1 [2023-02-15T00:04:51.691Z] ---> 9167035e17b8 [2023-02-15T00:04:51.691Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:04:51.691Z] 3.16: Pulling from library/alpine [2023-02-15T00:04:51.691Z] 3760b48202b3: Pulling fs layer [2023-02-15T00:04:51.691Z] 3760b48202b3: Verifying Checksum [2023-02-15T00:04:51.691Z] 3760b48202b3: Download complete [2023-02-15T00:04:51.691Z] 3760b48202b3: Pull complete [2023-02-15T00:04:51.691Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:04:51.691Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:04:51.691Z] ---> 4c81e5bf8899 [2023-02-15T00:04:51.692Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:04:51.692Z] ---> Running in 1054cfcbb084 [2023-02-15T00:04:51.692Z] Removing intermediate container 1054cfcbb084 [2023-02-15T00:04:51.692Z] ---> 4c8377e825b1 [2023-02-15T00:04:51.692Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:04:51.692Z] ---> Running in 189a2deb26de [2023-02-15T00:04:51.692Z] Removing intermediate container 189a2deb26de [2023-02-15T00:04:51.692Z] ---> cd1653d17bf8 [2023-02-15T00:04:51.692Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:04:51.692Z] ---> Running in ff8b70397efb [2023-02-15T00:04:51.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:04:51.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:04:51.692Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:04:51.692Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:04:51.692Z] OK: 5 MiB in 15 packages [2023-02-15T00:04:51.692Z] Removing intermediate container ff8b70397efb [2023-02-15T00:04:51.692Z] ---> 23387f4c1b94 [2023-02-15T00:04:51.692Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:04:51.692Z] ---> af1d8d60ca86 [2023-02-15T00:04:51.692Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:04:51.692Z] ---> 7a4507d2f0b0 [2023-02-15T00:04:51.692Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:04:51.692Z] ---> 45c9ad7a8b8f [2023-02-15T00:04:51.692Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:04:51.692Z] ---> Running in ea51d09fcf56 [2023-02-15T00:04:51.692Z] Removing intermediate container ea51d09fcf56 [2023-02-15T00:04:51.692Z] ---> c15097dd0d52 [2023-02-15T00:04:51.692Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:04:51.692Z] ---> Running in 53402fbab5ea [2023-02-15T00:04:51.692Z] Removing intermediate container 53402fbab5ea [2023-02-15T00:04:51.692Z] ---> a3542a92e14a [2023-02-15T00:04:51.692Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:04:51.692Z] ---> Running in 790cf7e8d35d [2023-02-15T00:04:51.692Z] Removing intermediate container 790cf7e8d35d [2023-02-15T00:04:51.692Z] ---> 3b52543f6c0f [2023-02-15T00:04:51.692Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T00:04:51.692Z] ---> Running in 4e2c5726a678 [2023-02-15T00:04:51.692Z] Removing intermediate container 4e2c5726a678 [2023-02-15T00:04:51.692Z] ---> 6c26b8e0ec3d [2023-02-15T00:04:51.692Z] Step 24/25 : LABEL git_sha=362d6874ee91c00a73543560bf42b68c66de4331 [2023-02-15T00:04:51.692Z] ---> Running in 55b651055d70 [2023-02-15T00:04:51.692Z] Removing intermediate container 55b651055d70 [2023-02-15T00:04:51.692Z] ---> 5e25f8622769 [2023-02-15T00:04:51.692Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T00:04:51.692Z] ---> Running in dc003cb4c7ae [2023-02-15T00:04:51.692Z] Removing intermediate container dc003cb4c7ae [2023-02-15T00:04:51.692Z] ---> caefd57bf710 [2023-02-15T00:04:51.692Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:04:51.692Z] Successfully built caefd57bf710 [2023-02-15T00:04:51.692Z] 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-02-15T00:04:52.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:04:52.531Z] [2023-02-15T00:04:52.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:04:52.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:04:53.241Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:04:53.241Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:04:53.241Z] 04944245beec: Pulling fs layer [2023-02-15T00:04:53.241Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:04:53.241Z] 765212b225bb: Pulling fs layer [2023-02-15T00:04:53.241Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:04:53.241Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:04:53.241Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:04:53.241Z] f23df028b6ca: Waiting [2023-02-15T00:04:53.241Z] d65c8cfc05b1: Waiting [2023-02-15T00:04:53.241Z] 765212b225bb: Waiting [2023-02-15T00:04:53.241Z] 2437ff75d9bd: Waiting [2023-02-15T00:04:53.241Z] 04944245beec: Verifying Checksum [2023-02-15T00:04:53.241Z] 04944245beec: Download complete [2023-02-15T00:04:53.241Z] 765212b225bb: Verifying Checksum [2023-02-15T00:04:53.241Z] 765212b225bb: Download complete [2023-02-15T00:04:53.241Z] f23df028b6ca: Download complete [2023-02-15T00:04:53.241Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:04:53.241Z] d65c8cfc05b1: Download complete [2023-02-15T00:04:53.512Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:04:53.513Z] 699f458cf7ca: Download complete [2023-02-15T00:04:53.783Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T00:04:53.783Z] 8998bd30e6a1: Download complete [2023-02-15T00:04:56.375Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:04:56.375Z] 2437ff75d9bd: Download complete [2023-02-15T00:04:58.325Z] 8998bd30e6a1: Pull complete [2023-02-15T00:04:58.325Z] 04944245beec: Pull complete [2023-02-15T00:05:00.281Z] 699f458cf7ca: Pull complete [2023-02-15T00:05:00.281Z] 765212b225bb: Pull complete [2023-02-15T00:05:01.244Z] f23df028b6ca: Pull complete [2023-02-15T00:05:01.244Z] d65c8cfc05b1: Pull complete [2023-02-15T00:05:16.259Z] 2437ff75d9bd: Pull complete [2023-02-15T00:05:16.259Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:05:16.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:05:16.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:05:16.608Z] prd-ubuntu20.04-docker-arm64-4c-16g-5928 does not seem to be running inside a container [2023-02-15T00:05:16.698Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T00:05:19.617Z] $ docker top 1ca217546fff9f126953e34b80a07e0d7adc8b0ec9be30164f829d7a055ec814 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:20.554Z] ---> job-cost.sh [2023-02-15T00:05:20.554Z] lf-activate-venv: SKIPPING [2023-02-15T00:05:20.554Z] INFO: No Stack... [2023-02-15T00:05:21.141Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:05:22.120Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:05:22.801Z] + cut -d, -f6 [2023-02-15T00:05:22.801Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-02-15T00:05:22.904Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [2023-02-15T00:05:22.909Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] did not exist. Created. [2023-02-15T00:05:22.909Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:05:23.649Z] /w/workspace/device-rest-go/1@tmp/durable-1032777d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:05:24.353Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:05:24.397Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:05:24.454Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:05:24.471Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:05:24.550Z] $ docker stop --time=1 1ca217546fff9f126953e34b80a07e0d7adc8b0ec9be30164f829d7a055ec814 [2023-02-15T00:05:26.158Z] $ docker rm -f --volumes 1ca217546fff9f126953e34b80a07e0d7adc8b0ec9be30164f829d7a055ec814 [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-02-15T00:05:27.069Z] provisioning config files... [2023-02-15T00:05:27.077Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config303539538694741359tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:05:27.428Z] + set +x [2023-02-15T00:05:27.428Z] + bash -s -- [2023-02-15T00:05:27.428Z] + curl -s https://codecov.io/bash [2023-02-15T00:05:27.428Z] [2023-02-15T00:05:27.428Z] _____ _ [2023-02-15T00:05:27.428Z] / ____| | | [2023-02-15T00:05:27.428Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:05:27.428Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:05:27.428Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:05:27.428Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:05:27.428Z] Bash-1.0.6 [2023-02-15T00:05:27.428Z] [2023-02-15T00:05:27.428Z] [2023-02-15T00:05:27.428Z] ==> git version 2.25.1 found [2023-02-15T00:05:27.428Z] ==> 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-02-15T00:05:27.428Z] Release-Date: 2020-01-08 [2023-02-15T00:05:27.428Z] 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-02-15T00:05:27.428Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:05:27.428Z] ==> Jenkins CI detected. [2023-02-15T00:05:27.428Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-251 [2023-02-15T00:05:27.428Z] project root: . [2023-02-15T00:05:27.428Z] --> token set from env [2023-02-15T00:05:27.428Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:05:27.689Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:05:27.689Z] ==> Python coveragepy not found [2023-02-15T00:05:27.689Z] ==> Searching for coverage reports in: [2023-02-15T00:05:27.689Z] + . [2023-02-15T00:05:27.689Z] -> Found 1 reports [2023-02-15T00:05:27.689Z] ==> Detecting git/mercurial file structure [2023-02-15T00:05:27.689Z] ==> Reading reports [2023-02-15T00:05:27.689Z] + ./coverage.out bytes=13744 [2023-02-15T00:05:27.689Z] ==> Appending adjustments [2023-02-15T00:05:27.689Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:05:27.689Z] + Found adjustments [2023-02-15T00:05:27.689Z] ==> Gzipping contents [2023-02-15T00:05:27.689Z] 4.0K /tmp/codecov.Wq70TB.gz [2023-02-15T00:05:27.689Z] ==> Uploading reports [2023-02-15T00:05:27.689Z] url: https://codecov.io [2023-02-15T00:05:27.689Z] query: branch=PR-251&commit=362d6874ee91c00a73543560bf42b68c66de4331&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-02-15T00:05:27.689Z] -> Pinging Codecov [2023-02-15T00:05:27.689Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-251&commit=362d6874ee91c00a73543560bf42b68c66de4331&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-02-15T00:05:27.950Z] -> Uploading to [2023-02-15T00:05:27.950Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/362d6874ee91c00a73543560bf42b68c66de4331/7663ec61-41db-4cdb-90fd-dde806ec67e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T000527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7e0c970bb80d3d7e88028b21edcd28deced0a5898959527c4b6499e5da681eb [2023-02-15T00:05:27.950Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:05:27.950Z] Dload Upload Total Spent Left Speed [2023-02-15T00:05:28.210Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9971 --:--:-- --:--:-- --:--:-- 9971 [2023-02-15T00:05:28.210Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] } [2023-02-15T00:05:28.239Z] 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-02-15T00:05:29.917Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-251/archives ] [2023-02-15T00:05:29.917Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-251/archives [2023-02-15T00:05:29.917Z] total 16 [2023-02-15T00:05:29.917Z] drwxr-xr-x 3 root root 4096 Feb 14 23:57 . [2023-02-15T00:05:29.917Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 23:57 .. [2023-02-15T00:05:29.917Z] drwxr-xr-x 2 root root 4096 Feb 14 23:57 cost [2023-02-15T00:05:29.917Z] -rw-r--r-- 1 root root 86 Feb 14 23:57 cost.csv [2023-02-15T00:05:29.917Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-251/archives [2023-02-15T00:05:29.917Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-251/archives [2023-02-15T00:05:29.917Z] total 16 [2023-02-15T00:05:29.917Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:57 . [2023-02-15T00:05:29.917Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 23:57 .. [2023-02-15T00:05:29.917Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 23:57 cost [2023-02-15T00:05:29.917Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 14 23:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:30.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:31.132Z] ---> package-listing.sh [2023-02-15T00:05:31.133Z] ++ facter osfamily [2023-02-15T00:05:31.133Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:05:31.392Z] + OS_FAMILY=debian [2023-02-15T00:05:31.392Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-251 [2023-02-15T00:05:31.392Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:05:31.392Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:05:31.392Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:05:31.392Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:05:31.392Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-251 ']' [2023-02-15T00:05:31.392Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:05:31.392Z] + case "${OS_FAMILY}" in [2023-02-15T00:05:31.392Z] + dpkg -l [2023-02-15T00:05:31.392Z] + grep '^ii' [2023-02-15T00:05:31.392Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:05:31.392Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:05:31.392Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:05:31.392Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-251 ']' [2023-02-15T00:05:31.392Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-251/archives/ [2023-02-15T00:05:31.392Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-251/archives/ [Pipeline] echo [2023-02-15T00:05:31.425Z] 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:05:31.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:05:32.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:05:32.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:05:32.492Z] prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container [2023-02-15T00:05:32.518Z] $ 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-251/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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:05:32.702Z] $ docker top db39af1b1ebc0aa69eb8a172b4f1d0e6d1d8acb5662cd2fe6f78168c5c1af285 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:05:33.097Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:05:33.406Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:05:33.718Z] + ls /var/log/sa-host [2023-02-15T00:05:33.718Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:05:33.947Z] provisioning config files... [2023-02-15T00:05:33.955Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config13879329558089882505tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:05:34.011Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:34.328Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:05:34.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:34.765Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:05:34.796Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:35.123Z] ---> sudo-logs.sh [2023-02-15T00:05:35.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:05:35.208Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:35.516Z] ---> job-cost.sh [2023-02-15T00:05:35.516Z] lf-activate-venv: SKIPPING [2023-02-15T00:05:35.516Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:05:35.516Z] INFO: Retrieving Stack Cost... [2023-02-15T00:05:36.457Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:05:36.457Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:05:36.490Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:05:36.801Z] ---> logs-deploy.sh [2023-02-15T00:05:36.801Z] lf-activate-venv: SKIPPING [2023-02-15T00:05:36.801Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-251/1 [2023-02-15T00:05:36.801Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:05:37.737Z] Archives upload complete. [2023-02-15T00:05:37.737Z] INFO: archiving logs to Nexus