Pull request #260 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 725131229238ddbdfb9d54e76d654455c8c38d57+2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab (000fd080bb6686b1f4dcc9049b45949adbe1d9e4) 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-ssh4313403234225325556.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-ssh2739308084662571590.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-260/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-260/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1421194527146948136.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-260/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10205419816984593843.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-ssh4635975712325953835.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-260/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-260/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2236578890156397429.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 Running on prd-ubuntu20.04-docker-8c-8g-7995 in /w/workspace/gexfoundry_device-rest-go_PR-260 [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-260 # 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 > 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/260/head:refs/remotes/origin/PR-260 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab into PR head commit 725131229238ddbdfb9d54e76d654455c8c38d57 Merge succeeded, producing 725131229238ddbdfb9d54e76d654455c8c38d57 Checking out Revision 725131229238ddbdfb9d54e76d654455c8c38d57 (PR-260) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-01T18:36:24.339Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T18:36:24.510Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f 725131229238ddbdfb9d54e76d654455c8c38d57 # 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 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 725131229238ddbdfb9d54e76d654455c8c38d57 # timeout=10 [2023-03-01T18:36:24.610Z] ========================================================= [2023-03-01T18:36:24.610Z] EdgeX Global Pipelines Version Info [2023-03-01T18:36:24.610Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:36:25.396Z] ------------------- [2023-03-01T18:36:25.396Z] stable info: [2023-03-01T18:36:25.396Z] ------------------- [2023-03-01T18:36:25.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T18:36:25.396Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T18:36:25.396Z] Message: update stable to v1.0.244 [2023-03-01T18:36:25.966Z] ------------------- [2023-03-01T18:36:25.966Z] experimental info: [2023-03-01T18:36:25.966Z] ------------------- [2023-03-01T18:36:25.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T18:36:25.966Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T18:36:25.966Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T18:36:26.246Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-01T18:36:26.298Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-01T18:36:26.337Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T18:36:26.377Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T18:36:26.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T18:36:26.459Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T18:36:26.499Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T18:36:26.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-01T18:36:26.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T18:36:26.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T18:36:26.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T18:36:26.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-01T18:36:26.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T18:36:26.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T18:36:26.806Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T18:36:26.842Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T18:36:26.880Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T18:36:26.919Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T18:36:26.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T18:36:26.993Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T18:36:27.035Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-01T18:36:27.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-01T18:36:27.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T18:36:27.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T18:36:27.203Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T18:36:27.244Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T18:36:27.289Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T18:36:27.331Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-260 [Pipeline] echo [2023-03-01T18:36:27.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-260 [Pipeline] echo [2023-03-01T18:36:27.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-260 [Pipeline] echo [2023-03-01T18:36:27.452Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 725131229238ddbdfb9d54e76d654455c8c38d57 [Pipeline] echo [2023-03-01T18:36:27.491Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7251312 [Pipeline] echo [2023-03-01T18:36:27.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T18:36:27.638Z] provisioning config files... [2023-03-01T18:36:27.651Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp/config10759007542972220214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:36:27.997Z] ---> docker-login.sh [2023-03-01T18:36:27.997Z] nexus3.edgexfoundry.org:10001 [2023-03-01T18:36:28.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:28.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:28.566Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:28.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:28.566Z] [2023-03-01T18:36:28.566Z] Login Succeeded [2023-03-01T18:36:28.566Z] nexus3.edgexfoundry.org:10002 [2023-03-01T18:36:28.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:28.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:28.827Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:28.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:28.827Z] [2023-03-01T18:36:28.827Z] Login Succeeded [2023-03-01T18:36:28.827Z] nexus3.edgexfoundry.org:10003 [2023-03-01T18:36:28.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:28.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:28.827Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:28.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:28.827Z] [2023-03-01T18:36:28.827Z] Login Succeeded [2023-03-01T18:36:28.827Z] nexus3.edgexfoundry.org:10004 [2023-03-01T18:36:28.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:28.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:28.827Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:28.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:28.827Z] [2023-03-01T18:36:28.827Z] Login Succeeded [2023-03-01T18:36:28.827Z] docker.io [2023-03-01T18:36:29.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:29.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:29.346Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:29.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:29.346Z] [2023-03-01T18:36:29.346Z] Login Succeeded [2023-03-01T18:36:29.346Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T18:36:29.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T18:36:29.999Z] + git rev-list -1 --merges 725131229238ddbdfb9d54e76d654455c8c38d57~1..725131229238ddbdfb9d54e76d654455c8c38d57 [Pipeline] echo [2023-03-01T18:36:30.060Z] -----------> git rev-list -1 --merges 725131229238ddbdfb9d54e76d654455c8c38d57~1..725131229238ddbdfb9d54e76d654455c8c38d57 725131229238ddbdfb9d54e76d654455c8c38d57 [false] [Pipeline] sh [2023-03-01T18:36:30.372Z] + git log --format=format:%s -1 725131229238ddbdfb9d54e76d654455c8c38d57 [Pipeline] echo [2023-03-01T18:36:30.407Z] ========================================================= [2023-03-01T18:36:30.407Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T18:36:30.407Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T18:36:30.838Z] + git log --format=format:%s -1 725131229238ddbdfb9d54e76d654455c8c38d57 [Pipeline] echo [2023-03-01T18:36:30.869Z] [semverPrep] GIT_COMMIT: 725131229238ddbdfb9d54e76d654455c8c38d57, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-01T18:36:30.899Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T18:36:31.273Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T18:36:31.273Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T18:36:31.273Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T18:36:31.273Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T18:36:31.273Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T18:36:31.273Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T18:36:31.273Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:36:31.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T18:36:31.704Z] [2023-03-01T18:36:31.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:36:32.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T18:36:32.086Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T18:36:32.086Z] b85a868b505f: Pulling fs layer [2023-03-01T18:36:32.086Z] e2be974225ed: Pulling fs layer [2023-03-01T18:36:32.086Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T18:36:32.086Z] 988bab9f4d93: Pulling fs layer [2023-03-01T18:36:32.086Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T18:36:32.086Z] eaf3925da568: Pulling fs layer [2023-03-01T18:36:32.086Z] bab4dde63d76: Pulling fs layer [2023-03-01T18:36:32.086Z] bde34c3a00c8: Pulling fs layer [2023-03-01T18:36:32.086Z] b352a97aabf1: Pulling fs layer [2023-03-01T18:36:32.086Z] 4872d77fe225: Pulling fs layer [2023-03-01T18:36:32.086Z] 5851b861e8e6: Pulling fs layer [2023-03-01T18:36:32.086Z] eaf3925da568: Waiting [2023-03-01T18:36:32.086Z] bab4dde63d76: Waiting [2023-03-01T18:36:32.086Z] bde34c3a00c8: Waiting [2023-03-01T18:36:32.086Z] b352a97aabf1: Waiting [2023-03-01T18:36:32.086Z] 4872d77fe225: Waiting [2023-03-01T18:36:32.086Z] 5851b861e8e6: Waiting [2023-03-01T18:36:32.086Z] 1469e6f7b9e6: Waiting [2023-03-01T18:36:32.086Z] 988bab9f4d93: Waiting [2023-03-01T18:36:32.086Z] e2be974225ed: Verifying Checksum [2023-03-01T18:36:32.086Z] e2be974225ed: Download complete [2023-03-01T18:36:32.086Z] 988bab9f4d93: Verifying Checksum [2023-03-01T18:36:32.086Z] 988bab9f4d93: Download complete [2023-03-01T18:36:32.345Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T18:36:32.345Z] 1469e6f7b9e6: Download complete [2023-03-01T18:36:32.345Z] eaf3925da568: Download complete [2023-03-01T18:36:32.345Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T18:36:32.345Z] 339a4e72a1f5: Download complete [2023-03-01T18:36:32.345Z] bde34c3a00c8: Verifying Checksum [2023-03-01T18:36:32.345Z] bde34c3a00c8: Download complete [2023-03-01T18:36:32.345Z] b352a97aabf1: Verifying Checksum [2023-03-01T18:36:32.345Z] b352a97aabf1: Download complete [2023-03-01T18:36:32.345Z] 4872d77fe225: Download complete [2023-03-01T18:36:32.345Z] 5851b861e8e6: Download complete [2023-03-01T18:36:32.345Z] b85a868b505f: Verifying Checksum [2023-03-01T18:36:32.345Z] b85a868b505f: Download complete [2023-03-01T18:36:32.604Z] bab4dde63d76: Verifying Checksum [2023-03-01T18:36:32.604Z] bab4dde63d76: Download complete [2023-03-01T18:36:33.539Z] b85a868b505f: Pull complete [2023-03-01T18:36:33.798Z] e2be974225ed: Pull complete [2023-03-01T18:36:34.366Z] 339a4e72a1f5: Pull complete [2023-03-01T18:36:34.366Z] 988bab9f4d93: Pull complete [2023-03-01T18:36:34.624Z] 1469e6f7b9e6: Pull complete [2023-03-01T18:36:34.624Z] eaf3925da568: Pull complete [2023-03-01T18:36:36.527Z] bab4dde63d76: Pull complete [2023-03-01T18:36:36.527Z] bde34c3a00c8: Pull complete [2023-03-01T18:36:36.787Z] b352a97aabf1: Pull complete [2023-03-01T18:36:36.787Z] 4872d77fe225: Pull complete [2023-03-01T18:36:37.047Z] 5851b861e8e6: Pull complete [2023-03-01T18:36:37.047Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T18:36:37.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T18:36:37.047Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:36:37.266Z] prd-ubuntu20.04-docker-8c-8g-7995 does not seem to be running inside a container [2023-03-01T18:36:37.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-260 -v /w/workspace/gexfoundry_device-rest-go_PR-260:/w/workspace/gexfoundry_device-rest-go_PR-260:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-260@tmp:/w/workspace/gexfoundry_device-rest-go_PR-260@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T18:36:41.250Z] $ docker top 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 -eo pid,comm [2023-03-01T18:36:41.295Z] 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-03-01T18:36:41.295Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T18:36:41.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T18:36:41.420Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T18:36:41.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T18:36:41.548Z] $ docker exec 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 ssh-agent [2023-03-01T18:36:41.637Z] SSH_AUTH_SOCK=/tmp/ssh-arVghdimbHjQ/agent.33 [2023-03-01T18:36:41.637Z] SSH_AGENT_PID=40 [2023-03-01T18:36:41.645Z] Running ssh-add (command line suppressed) [2023-03-01T18:36:41.750Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-260@tmp/private_key_4998431962880501283.key (/w/workspace/gexfoundry_device-rest-go_PR-260@tmp/private_key_4998431962880501283.key) [2023-03-01T18:36:41.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T18:36:42.096Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T18:36:42.131Z] $ docker exec --env ******** --env ******** 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 ssh-agent -k [2023-03-01T18:36:42.227Z] unset SSH_AUTH_SOCK; [2023-03-01T18:36:42.227Z] unset SSH_AGENT_PID; [2023-03-01T18:36:42.228Z] echo Agent pid 40 killed; [2023-03-01T18:36:42.232Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T18:36:42.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T18:36:42.323Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T18:36:42.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T18:36:42.446Z] $ docker exec 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 ssh-agent [2023-03-01T18:36:42.545Z] SSH_AUTH_SOCK=/tmp/ssh-7YmEAK9lEQwx/agent.72 [2023-03-01T18:36:42.545Z] SSH_AGENT_PID=78 [2023-03-01T18:36:42.550Z] Running ssh-add (command line suppressed) [2023-03-01T18:36:42.659Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-260@tmp/private_key_6455910374920753682.key (/w/workspace/gexfoundry_device-rest-go_PR-260@tmp/private_key_6455910374920753682.key) [2023-03-01T18:36:42.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T18:36:42.994Z] + git semver init [2023-03-01T18:36:43.255Z] 2023-03-01 18:36:43,168 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T18:36:43.255Z] 2023-03-01 18:36:43,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-260/.semver [2023-03-01T18:36:43.255Z] 2023-03-01 18:36:43,169 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-260/.semver [2023-03-01T18:36:43.255Z] 2023-03-01 18:36:43,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-260/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-260, universal_newlines=False, shell=None, istream=None) [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,290 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-260/.git/info/exclude [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-260/.semver/PR-260 with force:False [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,291 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-260/.semver/PR-260 [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,295 [execute] INFO git cat-file --batch-check [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-260/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,301 [execute] INFO git cat-file --batch [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-260/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T18:36:44.636Z] 2023-03-01 18:36:44,306 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-260/.semver/PR-260 [2023-03-01T18:36:44.636Z] 0.0.0 [Pipeline] } [2023-03-01T18:36:44.673Z] $ docker exec --env ******** --env ******** 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 ssh-agent -k [2023-03-01T18:36:44.764Z] unset SSH_AUTH_SOCK; [2023-03-01T18:36:44.765Z] unset SSH_AGENT_PID; [2023-03-01T18:36:44.765Z] echo Agent pid 78 killed; [2023-03-01T18:36:44.767Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T18:36:45.174Z] + git semver [Pipeline] } [2023-03-01T18:36:45.467Z] $ docker stop --time=1 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 [2023-03-01T18:36:46.762Z] $ docker rm -f --volumes 0032eb0ba5d4abe77ab22b0907c0776ded85404313506bf76b314ec2997e8179 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T18:36:47.165Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T18:36:47.434Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T18:36:47.452Z] [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-03-01T18:36:48.049Z] provisioning config files... [2023-03-01T18:36:48.058Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp/config10011816353537290574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:36:48.412Z] ---> docker-login.sh [2023-03-01T18:36:48.412Z] nexus3.edgexfoundry.org:10001 [2023-03-01T18:36:48.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:48.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:48.413Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:48.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:48.413Z] [2023-03-01T18:36:48.413Z] Login Succeeded [2023-03-01T18:36:48.413Z] nexus3.edgexfoundry.org:10002 [2023-03-01T18:36:48.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:48.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:48.413Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:48.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:48.413Z] [2023-03-01T18:36:48.413Z] Login Succeeded [2023-03-01T18:36:48.413Z] nexus3.edgexfoundry.org:10003 [2023-03-01T18:36:48.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:48.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:48.671Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:48.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:48.671Z] [2023-03-01T18:36:48.671Z] Login Succeeded [2023-03-01T18:36:48.671Z] nexus3.edgexfoundry.org:10004 [2023-03-01T18:36:48.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:48.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:48.671Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:48.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:48.671Z] [2023-03-01T18:36:48.671Z] Login Succeeded [2023-03-01T18:36:48.671Z] docker.io [2023-03-01T18:36:48.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:36:48.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:36:48.931Z] Configure a credential helper to remove this warning. See [2023-03-01T18:36:48.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:36:48.931Z] [2023-03-01T18:36:48.931Z] Login Succeeded [2023-03-01T18:36:48.931Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T18:36:48.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T18:36:49.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T18:36:49.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T18:36:49.209Z] ========================================================= [2023-03-01T18:36:49.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T18:36:49.209Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:36:49.690Z] + 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-03-01T18:36:49.691Z] Sending build context to Docker daemon 10.83MB [2023-03-01T18:36:49.691Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T18:36:49.691Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T18:36:49.691Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T18:36:49.691Z] 213ec9aee27d: Pulling fs layer [2023-03-01T18:36:49.691Z] 4583459ba037: Pulling fs layer [2023-03-01T18:36:49.691Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T18:36:49.691Z] 53926ce57604: Pulling fs layer [2023-03-01T18:36:49.691Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T18:36:49.691Z] 22ff95d597cd: Pulling fs layer [2023-03-01T18:36:49.691Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T18:36:49.691Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T18:36:49.691Z] a7acece74701: Pulling fs layer [2023-03-01T18:36:49.691Z] 22ff95d597cd: Waiting [2023-03-01T18:36:49.691Z] 12d6caf4c0d1: Waiting [2023-03-01T18:36:49.691Z] 53926ce57604: Waiting [2023-03-01T18:36:49.691Z] 21b2b0c7a3f4: Waiting [2023-03-01T18:36:49.691Z] 96b7cbca73a9: Waiting [2023-03-01T18:36:49.691Z] a7acece74701: Waiting [2023-03-01T18:36:49.691Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T18:36:49.691Z] 93c1e223e6f2: Download complete [2023-03-01T18:36:49.691Z] 4583459ba037: Verifying Checksum [2023-03-01T18:36:49.691Z] 4583459ba037: Download complete [2023-03-01T18:36:49.691Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T18:36:49.691Z] 21b2b0c7a3f4: Download complete [2023-03-01T18:36:49.691Z] 22ff95d597cd: Verifying Checksum [2023-03-01T18:36:49.691Z] 22ff95d597cd: Download complete [2023-03-01T18:36:49.957Z] 213ec9aee27d: Verifying Checksum [2023-03-01T18:36:49.957Z] 12d6caf4c0d1: Verifying Checksum [2023-03-01T18:36:49.957Z] 12d6caf4c0d1: Download complete [2023-03-01T18:36:49.957Z] 213ec9aee27d: Pull complete [2023-03-01T18:36:50.224Z] 4583459ba037: Pull complete [2023-03-01T18:36:50.224Z] 93c1e223e6f2: Pull complete [2023-03-01T18:36:50.504Z] a7acece74701: Verifying Checksum [2023-03-01T18:36:50.504Z] a7acece74701: Download complete [2023-03-01T18:36:50.767Z] 53926ce57604: Verifying Checksum [2023-03-01T18:36:50.767Z] 53926ce57604: Download complete [2023-03-01T18:36:50.767Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T18:36:50.767Z] 96b7cbca73a9: Download complete [2023-03-01T18:36:54.961Z] 53926ce57604: Pull complete [2023-03-01T18:36:54.961Z] 21b2b0c7a3f4: Pull complete [2023-03-01T18:36:54.961Z] 22ff95d597cd: Pull complete [2023-03-01T18:36:54.961Z] 12d6caf4c0d1: Pull complete [2023-03-01T18:36:56.866Z] 96b7cbca73a9: Pull complete [2023-03-01T18:36:57.433Z] a7acece74701: Pull complete [2023-03-01T18:36:57.433Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T18:36:57.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T18:36:57.433Z] ---> db6d94c90886 [2023-03-01T18:36:57.433Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T18:37:02.714Z] ---> Running in e7d55f5c09e2 [2023-03-01T18:37:02.715Z] Removing intermediate container e7d55f5c09e2 [2023-03-01T18:37:02.715Z] ---> f94cf7daf904 [2023-03-01T18:37:02.715Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T18:37:02.715Z] ---> Running in 599bfbf4659f [2023-03-01T18:37:02.715Z] Removing intermediate container 599bfbf4659f [2023-03-01T18:37:02.715Z] ---> 8ad7dedc7759 [2023-03-01T18:37:02.715Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T18:37:02.878Z] Still waiting to schedule task [2023-03-01T18:37:02.878Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7996’ [2023-03-01T18:37:02.973Z] ---> Running in 7710b7d61253 [2023-03-01T18:37:02.973Z] Removing intermediate container 7710b7d61253 [2023-03-01T18:37:02.973Z] ---> 79361eee2536 [2023-03-01T18:37:02.973Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T18:37:02.973Z] ---> Running in 26d833e8bc02 [2023-03-01T18:37:02.973Z] Removing intermediate container 26d833e8bc02 [2023-03-01T18:37:02.973Z] ---> 21694f1a48be [2023-03-01T18:37:02.973Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T18:37:02.973Z] ---> Running in 2637b3909489 [2023-03-01T18:37:03.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T18:37:03.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T18:37:03.747Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T18:37:03.747Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T18:37:03.747Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T18:37:03.747Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T18:37:03.747Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T18:37:03.747Z] OK: 216 MiB in 55 packages [2023-03-01T18:37:04.314Z] Removing intermediate container 2637b3909489 [2023-03-01T18:37:04.314Z] ---> 69f4341a530b [2023-03-01T18:37:04.314Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-01T18:37:04.314Z] ---> Running in 6509f5925247 [2023-03-01T18:37:04.314Z] Removing intermediate container 6509f5925247 [2023-03-01T18:37:04.314Z] ---> 9f0f829783e7 [2023-03-01T18:37:04.314Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T18:37:04.573Z] ---> 6465ba64f6a3 [2023-03-01T18:37:04.573Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T18:37:04.573Z] ---> Running in c8addb91a094 [2023-03-01T18:37:36.646Z] Removing intermediate container c8addb91a094 [2023-03-01T18:37:36.646Z] ---> 47ca8084f09b [2023-03-01T18:37:36.646Z] Step 11/12 : COPY . . [2023-03-01T18:37:36.646Z] ---> 060f67b01aa3 [2023-03-01T18:37:36.646Z] Step 12/12 : RUN $MAKE [2023-03-01T18:37:36.646Z] ---> Running in 1cf43fad79a3 [2023-03-01T18:37:36.646Z] noop [2023-03-01T18:37:36.646Z] Removing intermediate container 1cf43fad79a3 [2023-03-01T18:37:36.646Z] ---> 0ef529dae85b [2023-03-01T18:37:36.646Z] Successfully built 0ef529dae85b [2023-03-01T18:37:36.646Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:37:37.086Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T18:37:37.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:37:37.226Z] prd-ubuntu20.04-docker-8c-8g-7995 does not seem to be running inside a container [2023-03-01T18:37:37.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-260 -v /w/workspace/gexfoundry_device-rest-go_PR-260:/w/workspace/gexfoundry_device-rest-go_PR-260:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-260@tmp:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T18:37:37.647Z] $ docker top a90ba0acfa62d329cbfd2dc0797880ddf3d9f8868b6dbdc8f4561c4dc67693a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T18:37:38.025Z] + go version [2023-03-01T18:37:38.025Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T18:37:38.072Z] $ docker stop --time=1 a90ba0acfa62d329cbfd2dc0797880ddf3d9f8868b6dbdc8f4561c4dc67693a0 [2023-03-01T18:37:39.311Z] $ docker rm -f --volumes a90ba0acfa62d329cbfd2dc0797880ddf3d9f8868b6dbdc8f4561c4dc67693a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:37:39.966Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T18:37:39.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:37:40.113Z] prd-ubuntu20.04-docker-8c-8g-7995 does not seem to be running inside a container [2023-03-01T18:37:40.149Z] $ 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-260 -v /w/workspace/gexfoundry_device-rest-go_PR-260:/w/workspace/gexfoundry_device-rest-go_PR-260:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-260@tmp:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T18:37:40.465Z] $ docker top 6f7c72d3c583af8e14dbc8803a0ca7a7a5846fc70b73185c9521363b8dff7d09 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T18:37:40.833Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-260 [Pipeline] fileExists [Pipeline] sh [2023-03-01T18:37:41.186Z] + make test [2023-03-01T18:37:41.186Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T18:37:41.443Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-01T18:37:49.547Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-01T18:37:49.807Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-03-01T18:37:56.373Z] 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-03-01T18:37:56.373Z] go vet ./... [2023-03-01T18:37:59.655Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T18:37:59.655Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T18:37:59.655Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T18:37:59.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T18:37:59.738Z] $ docker stop --time=1 6f7c72d3c583af8e14dbc8803a0ca7a7a5846fc70b73185c9521363b8dff7d09 [2023-03-01T18:38:02.282Z] $ docker rm -f --volumes 6f7c72d3c583af8e14dbc8803a0ca7a7a5846fc70b73185c9521363b8dff7d09 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T18:38:02.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T18:38:02.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-01T18:38:03.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T18:38:03.738Z] + ls -al . [2023-03-01T18:38:03.739Z] total 184 [2023-03-01T18:38:03.739Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 18:37 . [2023-03-01T18:38:03.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:36 .. [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 1 18:36 .dockerignore [2023-03-01T18:38:03.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 18:37 .git [2023-03-01T18:38:03.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:36 .github [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 1 18:36 .gitignore [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 18:36 .golangci.yml [2023-03-01T18:38:03.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 18:36 .semver [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 1 18:36 Attribution.txt [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 1 18:36 CHANGELOG.md [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 1 18:36 Dockerfile [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 18:36 GOVERNANCE.md [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 18:36 Jenkinsfile [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 18:36 LICENSE [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 1 18:36 Makefile [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 1 18:36 OWNERS.md [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 1 18:36 README.md [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 18:36 VERSION [2023-03-01T18:38:03.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:36 bin [2023-03-01T18:38:03.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:36 cmd [2023-03-01T18:38:03.739Z] -rw-r--r-- 1 jenkins jenkins 13744 Mar 1 18:37 coverage.out [2023-03-01T18:38:03.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:36 driver [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 3401 Mar 1 18:36 go.mod [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 31300 Mar 1 18:36 go.sum [2023-03-01T18:38:03.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:36 snap [2023-03-01T18:38:03.739Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 1 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:38:04.126Z] + 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=725131229238ddbdfb9d54e76d654455c8c38d57 --label arch=amd64 --label version=0.0.0 . [2023-03-01T18:38:04.126Z] Sending build context to Docker daemon 10.84MB [2023-03-01T18:38:04.126Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T18:38:04.126Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-01T18:38:04.126Z] ---> 0ef529dae85b [2023-03-01T18:38:04.126Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-01T18:38:04.385Z] ---> Running in 379f99d29e03 [2023-03-01T18:38:04.385Z] Removing intermediate container 379f99d29e03 [2023-03-01T18:38:04.385Z] ---> 584b03090ee9 [2023-03-01T18:38:04.385Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T18:38:04.385Z] ---> Running in 88a56b759a5c [2023-03-01T18:38:04.385Z] Removing intermediate container 88a56b759a5c [2023-03-01T18:38:04.385Z] ---> 8030440e62b1 [2023-03-01T18:38:04.385Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T18:38:04.385Z] ---> Running in ef4ee20f3aec [2023-03-01T18:38:04.643Z] Removing intermediate container ef4ee20f3aec [2023-03-01T18:38:04.644Z] ---> a51ef67607e7 [2023-03-01T18:38:04.644Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T18:38:04.644Z] ---> Running in 9ef632444b8d [2023-03-01T18:38:04.644Z] Removing intermediate container 9ef632444b8d [2023-03-01T18:38:04.644Z] ---> 2f91aa5831b8 [2023-03-01T18:38:04.644Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T18:38:04.644Z] ---> Running in 854e48b9fb87 [2023-03-01T18:38:04.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T18:38:05.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T18:38:05.429Z] OK: 216 MiB in 55 packages [2023-03-01T18:38:05.688Z] Removing intermediate container 854e48b9fb87 [2023-03-01T18:38:05.688Z] ---> 41e35cb1d139 [2023-03-01T18:38:05.688Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-01T18:38:05.688Z] ---> Running in 11b9dae8ceac [2023-03-01T18:38:05.688Z] Removing intermediate container 11b9dae8ceac [2023-03-01T18:38:05.688Z] ---> 127c97508735 [2023-03-01T18:38:05.688Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-01T18:38:05.948Z] ---> 499a47ba32b8 [2023-03-01T18:38:05.948Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T18:38:05.948Z] ---> Running in fd55c8e8cb17 [2023-03-01T18:38:06.935Z] Removing intermediate container fd55c8e8cb17 [2023-03-01T18:38:06.935Z] ---> d486e33e5320 [2023-03-01T18:38:06.935Z] Step 11/25 : COPY . . [2023-03-01T18:38:07.194Z] ---> 7109d364aee7 [2023-03-01T18:38:07.194Z] Step 12/25 : RUN $MAKE [2023-03-01T18:38:07.194Z] ---> Running in 610951badc3c [2023-03-01T18:38:07.453Z] 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-03-01T18:38:29.431Z] Removing intermediate container 610951badc3c [2023-03-01T18:38:29.431Z] ---> 6d22b456d790 [2023-03-01T18:38:29.431Z] Step 13/25 : FROM alpine:3.16 [2023-03-01T18:38:29.431Z] 3.16: Pulling from library/alpine [2023-03-01T18:38:29.431Z] ef5531b6e74e: Pulling fs layer [2023-03-01T18:38:29.431Z] ef5531b6e74e: Verifying Checksum [2023-03-01T18:38:29.431Z] ef5531b6e74e: Download complete [2023-03-01T18:38:29.431Z] ef5531b6e74e: Pull complete [2023-03-01T18:38:29.431Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T18:38:29.431Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T18:38:29.431Z] ---> dfd21b5a31f5 [2023-03-01T18:38:29.431Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T18:38:29.431Z] ---> Running in 53c7094512ad [2023-03-01T18:38:29.431Z] Removing intermediate container 53c7094512ad [2023-03-01T18:38:29.431Z] ---> 534e3e8caa5e [2023-03-01T18:38:29.431Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-01T18:38:29.431Z] ---> Running in 2183e94fb3c1 [2023-03-01T18:38:29.431Z] Removing intermediate container 2183e94fb3c1 [2023-03-01T18:38:29.431Z] ---> 57c0367b76f3 [2023-03-01T18:38:29.431Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-01T18:38:29.431Z] ---> Running in 8e812acbe7df [2023-03-01T18:38:29.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T18:38:29.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T18:38:29.431Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-01T18:38:29.431Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T18:38:29.431Z] OK: 6 MiB in 15 packages [2023-03-01T18:38:29.431Z] Removing intermediate container 8e812acbe7df [2023-03-01T18:38:29.431Z] ---> cd4b1d45897d [2023-03-01T18:38:29.431Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-01T18:38:29.431Z] ---> 3b4144de3ef9 [2023-03-01T18:38:29.431Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-01T18:38:29.431Z] ---> 7e89673e3c08 [2023-03-01T18:38:29.431Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-01T18:38:29.690Z] ---> 9b9c9cf8e710 [2023-03-01T18:38:29.690Z] Step 20/25 : EXPOSE 59986 [2023-03-01T18:38:29.690Z] ---> Running in 3eddad7de5a3 [2023-03-01T18:38:29.690Z] Removing intermediate container 3eddad7de5a3 [2023-03-01T18:38:29.690Z] ---> 9a213649e607 [2023-03-01T18:38:29.690Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-01T18:38:29.690Z] ---> Running in 1fbe2f41a960 [2023-03-01T18:38:29.949Z] Removing intermediate container 1fbe2f41a960 [2023-03-01T18:38:29.949Z] ---> 4fd06299b254 [2023-03-01T18:38:29.949Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-01T18:38:29.949Z] ---> Running in 5d7f21a64861 [2023-03-01T18:38:29.949Z] Removing intermediate container 5d7f21a64861 [2023-03-01T18:38:29.949Z] ---> 6f2f0f2c0ca0 [2023-03-01T18:38:29.949Z] Step 23/25 : LABEL arch=amd64 [2023-03-01T18:38:29.949Z] ---> Running in 29cbc83e798f [2023-03-01T18:38:29.949Z] Removing intermediate container 29cbc83e798f [2023-03-01T18:38:29.949Z] ---> 3e71378ced6f [2023-03-01T18:38:29.949Z] Step 24/25 : LABEL git_sha=725131229238ddbdfb9d54e76d654455c8c38d57 [2023-03-01T18:38:29.949Z] ---> Running in e386505214a8 [2023-03-01T18:38:30.208Z] Removing intermediate container e386505214a8 [2023-03-01T18:38:30.208Z] ---> 75ce1788e3ef [2023-03-01T18:38:30.208Z] Step 25/25 : LABEL version=0.0.0 [2023-03-01T18:38:30.208Z] ---> Running in 8b63faefe8d3 [2023-03-01T18:38:30.208Z] Removing intermediate container 8b63faefe8d3 [2023-03-01T18:38:30.208Z] ---> 659742b3271f [2023-03-01T18:38:30.208Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T18:38:30.208Z] Successfully built 659742b3271f [2023-03-01T18:38:30.208Z] 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-03-01T18:38:31.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T18:38:31.052Z] [2023-03-01T18:38:31.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:38:31.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T18:38:31.433Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T18:38:31.433Z] 5eb5b503b376: Pulling fs layer [2023-03-01T18:38:31.433Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T18:38:31.433Z] ec43610c2a17: Pulling fs layer [2023-03-01T18:38:31.433Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T18:38:31.433Z] 33b1e0a273af: Pulling fs layer [2023-03-01T18:38:31.433Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T18:38:31.433Z] 2f39f015ded8: Pulling fs layer [2023-03-01T18:38:31.433Z] 33b1e0a273af: Waiting [2023-03-01T18:38:31.433Z] 5d3b04190fa2: Waiting [2023-03-01T18:38:31.433Z] 2f39f015ded8: Waiting [2023-03-01T18:38:31.433Z] 5c69ac0246d0: Download complete [2023-03-01T18:38:31.433Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T18:38:31.433Z] 3a2ae6a8a46f: Download complete [2023-03-01T18:38:31.692Z] 33b1e0a273af: Verifying Checksum [2023-03-01T18:38:31.692Z] 33b1e0a273af: Download complete [2023-03-01T18:38:31.692Z] 5d3b04190fa2: Verifying Checksum [2023-03-01T18:38:31.692Z] 5d3b04190fa2: Download complete [2023-03-01T18:38:31.692Z] ec43610c2a17: Verifying Checksum [2023-03-01T18:38:31.692Z] ec43610c2a17: Download complete [2023-03-01T18:38:31.692Z] 5eb5b503b376: Verifying Checksum [2023-03-01T18:38:31.692Z] 5eb5b503b376: Download complete [2023-03-01T18:38:32.259Z] 2f39f015ded8: Download complete [2023-03-01T18:38:32.826Z] 5eb5b503b376: Pull complete [2023-03-01T18:38:33.084Z] 5c69ac0246d0: Pull complete [2023-03-01T18:38:33.342Z] ec43610c2a17: Pull complete [2023-03-01T18:38:33.342Z] 3a2ae6a8a46f: Pull complete [2023-03-01T18:38:33.601Z] 33b1e0a273af: Pull complete [2023-03-01T18:38:33.601Z] 5d3b04190fa2: Pull complete [2023-03-01T18:38:37.788Z] 2f39f015ded8: Pull complete [2023-03-01T18:38:37.788Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T18:38:37.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T18:38:37.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:38:38.010Z] prd-ubuntu20.04-docker-8c-8g-7995 does not seem to be running inside a container [2023-03-01T18:38:38.052Z] $ 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-260 -v /w/workspace/gexfoundry_device-rest-go_PR-260:/w/workspace/gexfoundry_device-rest-go_PR-260:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-260@tmp:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T18:38:40.606Z] $ docker top 1c9bbe95b8623e4c711c3f12124eec8f8a0c58624d394e0a1fd59d4e8c6a4971 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:38:41.034Z] ---> job-cost.sh [2023-03-01T18:38:41.034Z] lf-activate-venv: SKIPPING [2023-03-01T18:38:41.034Z] INFO: No Stack... [2023-03-01T18:38:41.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T18:38:41.551Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T18:38:41.865Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-260/archives/cost.csv [2023-03-01T18:38:41.865Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T18:38:41.906Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] [2023-03-01T18:38:41.911Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] did not exist. Created. [2023-03-01T18:38:41.911Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T18:38:42.304Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T18:38:42.360Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T18:38:42.382Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T18:38:42.476Z] $ docker stop --time=1 1c9bbe95b8623e4c711c3f12124eec8f8a0c58624d394e0a1fd59d4e8c6a4971 [2023-03-01T18:38:43.634Z] $ docker rm -f --volumes 1c9bbe95b8623e4c711c3f12124eec8f8a0c58624d394e0a1fd59d4e8c6a4971 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T18:40:28.110Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7997 in /w/workspace/gexfoundry_device-rest-go_PR-260 [Pipeline] { [Pipeline] ws [2023-03-01T18:40:28.159Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-01T18:40:28.228Z] The recommended git tool is: git [2023-03-01T18:40:33.496Z] using credential edgex-jenkins-ssh [2023-03-01T18:40:33.512Z] Cloning the remote Git repository [2023-03-01T18:40:33.562Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-01T18:40:33.639Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-01T18:40:33.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-01T18:40:33.814Z] > git --version # timeout=10 [2023-03-01T18:40:33.835Z] > git --version # 'git version 2.25.1' [2023-03-01T18:40:33.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T18:40:33.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T18:40:35.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-01T18:40:35.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T18:40:36.644Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-01T18:40:36.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-01T18:40:36.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T18:40:36.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/260/head:refs/remotes/origin/PR-260 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T18:40:37.271Z] Merging remotes/origin/main commit 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab into PR head commit 725131229238ddbdfb9d54e76d654455c8c38d57 [2023-03-01T18:40:37.482Z] Merge succeeded, producing 725131229238ddbdfb9d54e76d654455c8c38d57 [2023-03-01T18:40:37.482Z] Checking out Revision 725131229238ddbdfb9d54e76d654455c8c38d57 (PR-260) [2023-03-01T18:40:37.955Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-01T18:40:38.006Z] > git --version # timeout=10 [2023-03-01T18:40:38.018Z] > git --version # 'git version 2.25.1' [2023-03-01T18:40:38.038Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T18:40:37.293Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T18:40:37.319Z] > git checkout -f 725131229238ddbdfb9d54e76d654455c8c38d57 # timeout=10 [2023-03-01T18:40:37.398Z] > git remote # timeout=10 [2023-03-01T18:40:37.415Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T18:40:37.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T18:40:37.443Z] > git merge 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab # timeout=10 [2023-03-01T18:40:37.468Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T18:40:37.491Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T18:40:37.508Z] > git checkout -f 725131229238ddbdfb9d54e76d654455c8c38d57 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T18:40:39.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T18:40:39.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T18:40:39.074Z] Dload Upload Total Spent Left Speed [2023-03-01T18:40:39.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10502 0 0 72930 0 --:--:-- --:--:-- --:--:-- 72930 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-03-01T18:40:39.661Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T18:40:40.001Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T18:40:40.001Z] + sudo tee /etc/docker/daemon.new [2023-03-01T18:40:40.001Z] { [2023-03-01T18:40:40.001Z] "registry-mirrors": [ [2023-03-01T18:40:40.001Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T18:40:40.001Z] ], [2023-03-01T18:40:40.001Z] "bip": "10.250.0.254/24", [2023-03-01T18:40:40.001Z] "hosts": [ [2023-03-01T18:40:40.001Z] "tcp://0.0.0.0:5555", [2023-03-01T18:40:40.001Z] "unix:///var/run/docker.sock" [2023-03-01T18:40:40.001Z] ], [2023-03-01T18:40:40.001Z] "mtu": 1458, [2023-03-01T18:40:40.001Z] "selinux-enabled": true, [2023-03-01T18:40:40.001Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T18:40:40.001Z] } [Pipeline] sh [2023-03-01T18:40:40.353Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T18:40:40.703Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T18:40:59.058Z] provisioning config files... [2023-03-01T18:40:59.086Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15795910449096104703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:40:59.503Z] ---> docker-login.sh [2023-03-01T18:40:59.503Z] nexus3.edgexfoundry.org:10001 [2023-03-01T18:41:00.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:41:00.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:41:00.361Z] Configure a credential helper to remove this warning. See [2023-03-01T18:41:00.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:41:00.361Z] [2023-03-01T18:41:00.361Z] Login Succeeded [2023-03-01T18:41:00.361Z] nexus3.edgexfoundry.org:10002 [2023-03-01T18:41:00.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:41:00.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:41:00.632Z] Configure a credential helper to remove this warning. See [2023-03-01T18:41:00.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:41:00.632Z] [2023-03-01T18:41:00.632Z] Login Succeeded [2023-03-01T18:41:00.632Z] nexus3.edgexfoundry.org:10003 [2023-03-01T18:41:00.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:41:01.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:41:01.182Z] Configure a credential helper to remove this warning. See [2023-03-01T18:41:01.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:41:01.182Z] [2023-03-01T18:41:01.182Z] Login Succeeded [2023-03-01T18:41:01.182Z] nexus3.edgexfoundry.org:10004 [2023-03-01T18:41:01.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:41:01.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:41:01.452Z] Configure a credential helper to remove this warning. See [2023-03-01T18:41:01.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:41:01.452Z] [2023-03-01T18:41:01.452Z] Login Succeeded [2023-03-01T18:41:01.452Z] docker.io [2023-03-01T18:41:01.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T18:41:01.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T18:41:01.992Z] Configure a credential helper to remove this warning. See [2023-03-01T18:41:01.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T18:41:01.992Z] [2023-03-01T18:41:01.992Z] Login Succeeded [2023-03-01T18:41:01.992Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T18:41:02.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T18:41:02.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T18:41:02.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T18:41:02.483Z] ========================================================= [2023-03-01T18:41:02.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T18:41:02.483Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:41:03.019Z] + 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-03-01T18:41:03.019Z] Sending build context to Docker daemon 138.8kB [2023-03-01T18:41:03.288Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T18:41:03.288Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T18:41:03.557Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T18:41:03.557Z] 9b18e9b68314: Pulling fs layer [2023-03-01T18:41:03.557Z] 35d82f9e3411: Pulling fs layer [2023-03-01T18:41:03.557Z] e16973657156: Pulling fs layer [2023-03-01T18:41:03.557Z] fc693d55d65f: Pulling fs layer [2023-03-01T18:41:03.557Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T18:41:03.557Z] dda99020689f: Pulling fs layer [2023-03-01T18:41:03.557Z] db1c61fa0a46: Pulling fs layer [2023-03-01T18:41:03.557Z] 891c053d2c06: Pulling fs layer [2023-03-01T18:41:03.557Z] fc693d55d65f: Waiting [2023-03-01T18:41:03.557Z] 7e9fc2657dce: Waiting [2023-03-01T18:41:03.557Z] 891c053d2c06: Waiting [2023-03-01T18:41:03.557Z] dda99020689f: Waiting [2023-03-01T18:41:03.557Z] db1c61fa0a46: Waiting [2023-03-01T18:41:03.557Z] e16973657156: Verifying Checksum [2023-03-01T18:41:03.557Z] e16973657156: Download complete [2023-03-01T18:41:03.557Z] 35d82f9e3411: Verifying Checksum [2023-03-01T18:41:03.557Z] 35d82f9e3411: Download complete [2023-03-01T18:41:03.557Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T18:41:03.557Z] 7e9fc2657dce: Download complete [2023-03-01T18:41:03.557Z] dda99020689f: Download complete [2023-03-01T18:41:03.557Z] 9b18e9b68314: Verifying Checksum [2023-03-01T18:41:04.545Z] 9b18e9b68314: Pull complete [2023-03-01T18:41:04.545Z] 891c053d2c06: Verifying Checksum [2023-03-01T18:41:04.545Z] 891c053d2c06: Download complete [2023-03-01T18:41:05.966Z] db1c61fa0a46: Verifying Checksum [2023-03-01T18:41:05.966Z] db1c61fa0a46: Download complete [2023-03-01T18:41:06.233Z] fc693d55d65f: Download complete [2023-03-01T18:41:06.501Z] 35d82f9e3411: Pull complete [2023-03-01T18:41:06.770Z] e16973657156: Pull complete [2023-03-01T18:41:19.100Z] fc693d55d65f: Pull complete [2023-03-01T18:41:19.100Z] 7e9fc2657dce: Pull complete [2023-03-01T18:41:19.100Z] dda99020689f: Pull complete [2023-03-01T18:41:25.957Z] db1c61fa0a46: Pull complete [2023-03-01T18:41:26.940Z] 891c053d2c06: Pull complete [2023-03-01T18:41:26.940Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T18:41:26.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T18:41:26.940Z] ---> f96f9c87975a [2023-03-01T18:41:26.940Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T18:41:28.906Z] ---> Running in dae1a44d0d18 [2023-03-01T18:41:29.173Z] Removing intermediate container dae1a44d0d18 [2023-03-01T18:41:29.173Z] ---> a9dafed38875 [2023-03-01T18:41:29.173Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T18:41:29.173Z] ---> Running in 84229b7a260d [2023-03-01T18:41:29.758Z] Removing intermediate container 84229b7a260d [2023-03-01T18:41:29.758Z] ---> a0a019d8e0bb [2023-03-01T18:41:29.758Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T18:41:29.758Z] ---> Running in aa5acb56e932 [2023-03-01T18:41:30.028Z] Removing intermediate container aa5acb56e932 [2023-03-01T18:41:30.028Z] ---> c22730ef0382 [2023-03-01T18:41:30.028Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T18:41:30.028Z] ---> Running in 73cf8a71c2e3 [2023-03-01T18:41:30.302Z] Removing intermediate container 73cf8a71c2e3 [2023-03-01T18:41:30.302Z] ---> dce68d54ea44 [2023-03-01T18:41:30.302Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T18:41:30.575Z] ---> Running in 0a7e2651ad76 [2023-03-01T18:41:31.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T18:41:32.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T18:41:33.106Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T18:41:33.106Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T18:41:33.106Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T18:41:33.106Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T18:41:33.106Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T18:41:33.106Z] OK: 226 MiB in 55 packages [2023-03-01T18:41:34.071Z] Removing intermediate container 0a7e2651ad76 [2023-03-01T18:41:34.071Z] ---> 60670d23a366 [2023-03-01T18:41:34.071Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-01T18:41:34.071Z] ---> Running in fd7ba7502f8d [2023-03-01T18:41:34.344Z] Removing intermediate container fd7ba7502f8d [2023-03-01T18:41:34.344Z] ---> 8b6fda69e1e3 [2023-03-01T18:41:34.344Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T18:41:34.932Z] ---> ad79df532d28 [2023-03-01T18:41:34.932Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T18:41:34.932Z] ---> Running in 4d855f9d647e [2023-03-01T18:42:42.824Z] Removing intermediate container 4d855f9d647e [2023-03-01T18:42:42.824Z] ---> 21663ebad450 [2023-03-01T18:42:42.824Z] Step 11/12 : COPY . . [2023-03-01T18:42:42.824Z] ---> de993d92af24 [2023-03-01T18:42:42.824Z] Step 12/12 : RUN $MAKE [2023-03-01T18:42:42.824Z] ---> Running in 9ad3eaabe093 [2023-03-01T18:42:42.824Z] noop [2023-03-01T18:42:42.824Z] Removing intermediate container 9ad3eaabe093 [2023-03-01T18:42:42.824Z] ---> 3a5ee10d2520 [2023-03-01T18:42:42.824Z] Successfully built 3a5ee10d2520 [2023-03-01T18:42:42.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:42:43.286Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T18:42:43.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:42:43.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-7997 does not seem to be running inside a container [2023-03-01T18:42:43.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T18:42:44.788Z] $ docker top 36e28b87676400660331143c8400f221e80445ec90505e9f17acc729bba469db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T18:42:45.652Z] + go version [2023-03-01T18:42:45.652Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T18:42:45.687Z] $ docker stop --time=1 36e28b87676400660331143c8400f221e80445ec90505e9f17acc729bba469db [2023-03-01T18:42:48.976Z] $ docker rm -f --volumes 36e28b87676400660331143c8400f221e80445ec90505e9f17acc729bba469db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:42:49.846Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T18:42:49.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:42:50.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-7997 does not seem to be running inside a container [2023-03-01T18:42:50.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T18:42:51.323Z] $ docker top b4cf9ee6aa16c5437aa925c8e32e261327cb5f51f1c429e2fa2efee76b0008da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T18:42:51.878Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-01T18:42:52.269Z] + make test [2023-03-01T18:42:52.269Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T18:42:54.213Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-01T18:44:15.849Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-01T18:44:15.849Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.9% of statements [2023-03-01T18:44:16.117Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-01T18:44:16.117Z] go vet ./... [2023-03-01T18:44:38.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T18:44:38.183Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T18:44:38.183Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T18:44:38.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T18:44:38.256Z] $ docker stop --time=1 b4cf9ee6aa16c5437aa925c8e32e261327cb5f51f1c429e2fa2efee76b0008da [2023-03-01T18:44:40.031Z] $ docker rm -f --volumes b4cf9ee6aa16c5437aa925c8e32e261327cb5f51f1c429e2fa2efee76b0008da [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T18:44:41.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T18:44:41.104Z] Warning: overwriting stash ‘coverage-report’ [2023-03-01T18:44:41.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T18:44:42.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T18:44:42.554Z] + ls -al . [2023-03-01T18:44:42.554Z] total 180 [2023-03-01T18:44:42.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 18:42 . [2023-03-01T18:44:42.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:40 .. [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 1 18:40 .dockerignore [2023-03-01T18:44:42.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 18:40 .git [2023-03-01T18:44:42.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:40 .github [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 1 18:40 .gitignore [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 18:40 .golangci.yml [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 1 18:40 Attribution.txt [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 1 18:40 CHANGELOG.md [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 1 18:40 Dockerfile [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 18:40 GOVERNANCE.md [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 18:40 Jenkinsfile [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 18:40 LICENSE [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 1 18:40 Makefile [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 1 18:40 OWNERS.md [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 1 18:40 README.md [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 18:36 VERSION [2023-03-01T18:44:42.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:40 bin [2023-03-01T18:44:42.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:40 cmd [2023-03-01T18:44:42.554Z] -rw-r--r-- 1 jenkins jenkins 13744 Mar 1 18:44 coverage.out [2023-03-01T18:44:42.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:40 driver [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 3401 Mar 1 18:40 go.mod [2023-03-01T18:44:42.554Z] -rw-rw-r-- 1 jenkins jenkins 31300 Mar 1 18:40 go.sum [2023-03-01T18:44:42.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:40 snap [2023-03-01T18:44:42.555Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 1 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:44:42.979Z] + 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=725131229238ddbdfb9d54e76d654455c8c38d57 --label arch=arm64 --label version=0.0.0 . [2023-03-01T18:44:42.979Z] Sending build context to Docker daemon 153.1kB [2023-03-01T18:44:43.259Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T18:44:43.259Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-01T18:44:43.259Z] ---> 3a5ee10d2520 [2023-03-01T18:44:43.259Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-01T18:44:43.259Z] ---> Running in 771c5822035b [2023-03-01T18:44:43.841Z] Removing intermediate container 771c5822035b [2023-03-01T18:44:43.841Z] ---> e4e090c7aa27 [2023-03-01T18:44:43.842Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T18:44:43.842Z] ---> Running in a400ca9fdca1 [2023-03-01T18:44:44.108Z] Removing intermediate container a400ca9fdca1 [2023-03-01T18:44:44.108Z] ---> 5823e4b8a6dc [2023-03-01T18:44:44.108Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T18:44:44.108Z] ---> Running in 5f0524d9c858 [2023-03-01T18:44:44.374Z] Removing intermediate container 5f0524d9c858 [2023-03-01T18:44:44.374Z] ---> 4b4e39c6cd66 [2023-03-01T18:44:44.374Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T18:44:44.640Z] ---> Running in 64324ccb90be [2023-03-01T18:44:44.906Z] Removing intermediate container 64324ccb90be [2023-03-01T18:44:44.906Z] ---> 2fc57f4361ec [2023-03-01T18:44:44.906Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T18:44:44.906Z] ---> Running in cbd50a94f79c [2023-03-01T18:44:45.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T18:44:46.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T18:44:47.420Z] OK: 226 MiB in 55 packages [2023-03-01T18:44:48.383Z] Removing intermediate container cbd50a94f79c [2023-03-01T18:44:48.383Z] ---> 4ab9850f5261 [2023-03-01T18:44:48.383Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-01T18:44:48.383Z] ---> Running in 67372e3b19b6 [2023-03-01T18:44:48.649Z] Removing intermediate container 67372e3b19b6 [2023-03-01T18:44:48.649Z] ---> 990184f54b74 [2023-03-01T18:44:48.649Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-01T18:44:49.234Z] ---> 4a1b59d82605 [2023-03-01T18:44:49.234Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T18:44:49.234Z] ---> Running in e0e0bbadfdba [2023-03-01T18:44:51.812Z] Removing intermediate container e0e0bbadfdba [2023-03-01T18:44:51.812Z] ---> 1f8cf0f6c2a8 [2023-03-01T18:44:51.812Z] Step 11/25 : COPY . . [2023-03-01T18:44:52.402Z] ---> 8eee46a2e3bd [2023-03-01T18:44:52.402Z] Step 12/25 : RUN $MAKE [2023-03-01T18:44:52.684Z] ---> Running in 17bb08552f6e [2023-03-01T18:44:53.646Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-01T18:47:30.389Z] Removing intermediate container 17bb08552f6e [2023-03-01T18:47:30.389Z] ---> 985d8bf8bbbc [2023-03-01T18:47:30.389Z] Step 13/25 : FROM alpine:3.16 [2023-03-01T18:47:30.389Z] 3.16: Pulling from library/alpine [2023-03-01T18:47:30.389Z] 3760b48202b3: Pulling fs layer [2023-03-01T18:47:30.389Z] 3760b48202b3: Verifying Checksum [2023-03-01T18:47:30.389Z] 3760b48202b3: Download complete [2023-03-01T18:47:30.389Z] 3760b48202b3: Pull complete [2023-03-01T18:47:30.389Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T18:47:30.389Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T18:47:30.389Z] ---> 4c81e5bf8899 [2023-03-01T18:47:30.389Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T18:47:30.389Z] ---> Running in bd8def85c3c9 [2023-03-01T18:47:30.389Z] Removing intermediate container bd8def85c3c9 [2023-03-01T18:47:30.389Z] ---> 0e6711bdbc3c [2023-03-01T18:47:30.389Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-01T18:47:30.389Z] ---> Running in 526ffb9c1a3e [2023-03-01T18:47:30.389Z] Removing intermediate container 526ffb9c1a3e [2023-03-01T18:47:30.389Z] ---> 6e871d82158d [2023-03-01T18:47:30.389Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-01T18:47:30.389Z] ---> Running in e26f59acc15a [2023-03-01T18:47:30.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T18:47:30.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T18:47:30.389Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-01T18:47:30.389Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T18:47:30.389Z] OK: 5 MiB in 15 packages [2023-03-01T18:47:30.389Z] Removing intermediate container e26f59acc15a [2023-03-01T18:47:30.389Z] ---> 9a2b16a854ec [2023-03-01T18:47:30.389Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-01T18:47:30.389Z] ---> 810efff34604 [2023-03-01T18:47:30.389Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-01T18:47:30.658Z] ---> a7834b586ee1 [2023-03-01T18:47:30.658Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-01T18:47:31.254Z] ---> 9d0474ca3036 [2023-03-01T18:47:31.254Z] Step 20/25 : EXPOSE 59986 [2023-03-01T18:47:31.254Z] ---> Running in b4a44949e5ec [2023-03-01T18:47:31.846Z] Removing intermediate container b4a44949e5ec [2023-03-01T18:47:31.847Z] ---> 56bec25d4f05 [2023-03-01T18:47:31.847Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-01T18:47:31.847Z] ---> Running in 6f7464b74eea [2023-03-01T18:47:32.117Z] Removing intermediate container 6f7464b74eea [2023-03-01T18:47:32.117Z] ---> b9d80f862718 [2023-03-01T18:47:32.117Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-01T18:47:32.387Z] ---> Running in 174ba4863cc5 [2023-03-01T18:47:32.660Z] Removing intermediate container 174ba4863cc5 [2023-03-01T18:47:32.660Z] ---> cba1a19c160c [2023-03-01T18:47:32.660Z] Step 23/25 : LABEL arch=arm64 [2023-03-01T18:47:32.660Z] ---> Running in 0cafdca5bede [2023-03-01T18:47:32.935Z] Removing intermediate container 0cafdca5bede [2023-03-01T18:47:32.935Z] ---> d192b2a3f05d [2023-03-01T18:47:32.935Z] Step 24/25 : LABEL git_sha=725131229238ddbdfb9d54e76d654455c8c38d57 [2023-03-01T18:47:33.204Z] ---> Running in 9ec933378c63 [2023-03-01T18:47:33.475Z] Removing intermediate container 9ec933378c63 [2023-03-01T18:47:33.475Z] ---> 7b35577b56b1 [2023-03-01T18:47:33.475Z] Step 25/25 : LABEL version=0.0.0 [2023-03-01T18:47:33.475Z] ---> Running in bd126f3086d4 [2023-03-01T18:47:34.064Z] Removing intermediate container bd126f3086d4 [2023-03-01T18:47:34.065Z] ---> a82f0d7e8dd3 [2023-03-01T18:47:34.065Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T18:47:34.065Z] Successfully built a82f0d7e8dd3 [2023-03-01T18:47:34.065Z] 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-03-01T18:47:34.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T18:47:34.857Z] [2023-03-01T18:47:34.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:47:35.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T18:47:35.550Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T18:47:35.550Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T18:47:35.550Z] 04944245beec: Pulling fs layer [2023-03-01T18:47:35.550Z] 699f458cf7ca: Pulling fs layer [2023-03-01T18:47:35.550Z] 765212b225bb: Pulling fs layer [2023-03-01T18:47:35.550Z] f23df028b6ca: Pulling fs layer [2023-03-01T18:47:35.550Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T18:47:35.550Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T18:47:35.550Z] f23df028b6ca: Waiting [2023-03-01T18:47:35.550Z] d65c8cfc05b1: Waiting [2023-03-01T18:47:35.550Z] 2437ff75d9bd: Waiting [2023-03-01T18:47:35.550Z] 765212b225bb: Waiting [2023-03-01T18:47:35.550Z] 04944245beec: Verifying Checksum [2023-03-01T18:47:35.550Z] 04944245beec: Download complete [2023-03-01T18:47:35.550Z] 765212b225bb: Verifying Checksum [2023-03-01T18:47:35.550Z] 765212b225bb: Download complete [2023-03-01T18:47:35.550Z] f23df028b6ca: Download complete [2023-03-01T18:47:35.550Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T18:47:35.550Z] d65c8cfc05b1: Download complete [2023-03-01T18:47:35.827Z] 699f458cf7ca: Verifying Checksum [2023-03-01T18:47:35.827Z] 699f458cf7ca: Download complete [2023-03-01T18:47:36.099Z] 8998bd30e6a1: Download complete [2023-03-01T18:47:38.699Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T18:47:38.699Z] 2437ff75d9bd: Download complete [2023-03-01T18:47:40.648Z] 8998bd30e6a1: Pull complete [2023-03-01T18:47:40.918Z] 04944245beec: Pull complete [2023-03-01T18:47:42.331Z] 699f458cf7ca: Pull complete [2023-03-01T18:47:42.599Z] 765212b225bb: Pull complete [2023-03-01T18:47:43.561Z] f23df028b6ca: Pull complete [2023-03-01T18:47:43.830Z] d65c8cfc05b1: Pull complete [2023-03-01T18:47:59.012Z] 2437ff75d9bd: Pull complete [2023-03-01T18:47:59.012Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T18:47:59.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T18:47:59.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:47:59.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-7997 does not seem to be running inside a container [2023-03-01T18:47:59.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T18:48:02.389Z] $ docker top eb0d6cb3116508d743299694808323ad2c07965fc249233c198fc97210f9e57a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:03.318Z] ---> job-cost.sh [2023-03-01T18:48:03.318Z] lf-activate-venv: SKIPPING [2023-03-01T18:48:03.318Z] INFO: No Stack... [2023-03-01T18:48:03.593Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T18:48:04.555Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T18:48:05.216Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-01T18:48:05.216Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T18:48:05.305Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] [2023-03-01T18:48:05.310Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] did not exist. Created. [2023-03-01T18:48:05.310Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T18:48:06.032Z] /w/workspace/device-rest-go/1@tmp/durable-692287fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T18:48:06.706Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T18:48:06.743Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T18:48:06.797Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T18:48:06.816Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-260-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T18:48:06.897Z] $ docker stop --time=1 eb0d6cb3116508d743299694808323ad2c07965fc249233c198fc97210f9e57a [2023-03-01T18:48:08.430Z] $ docker rm -f --volumes eb0d6cb3116508d743299694808323ad2c07965fc249233c198fc97210f9e57a [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-03-01T18:48:09.413Z] provisioning config files... [2023-03-01T18:48:09.420Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp/config8133162313065845303tmp [Pipeline] { [Pipeline] sh [2023-03-01T18:48:09.762Z] + set +x [2023-03-01T18:48:09.762Z] + curl -s https://codecov.io/bash [2023-03-01T18:48:09.762Z] + bash -s -- [2023-03-01T18:48:09.762Z] [2023-03-01T18:48:09.762Z] _____ _ [2023-03-01T18:48:09.762Z] / ____| | | [2023-03-01T18:48:09.762Z] | | ___ __| | ___ ___ _____ __ [2023-03-01T18:48:09.762Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-01T18:48:09.762Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-01T18:48:09.762Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-01T18:48:09.762Z] Bash-1.0.6 [2023-03-01T18:48:09.762Z] [2023-03-01T18:48:09.762Z] [2023-03-01T18:48:09.762Z] ==> git version 2.25.1 found [2023-03-01T18:48:09.762Z] ==> 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-03-01T18:48:09.762Z] Release-Date: 2020-01-08 [2023-03-01T18:48:09.762Z] 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-03-01T18:48:09.762Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-01T18:48:09.762Z] ==> Jenkins CI detected. [2023-03-01T18:48:09.762Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-260 [2023-03-01T18:48:09.762Z] project root: . [2023-03-01T18:48:09.762Z] --> token set from env [2023-03-01T18:48:09.762Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-01T18:48:09.762Z] ==> Running gcov in . (disable via -X gcov) [2023-03-01T18:48:09.762Z] ==> Python coveragepy not found [2023-03-01T18:48:09.762Z] ==> Searching for coverage reports in: [2023-03-01T18:48:09.762Z] + . [2023-03-01T18:48:09.762Z] -> Found 1 reports [2023-03-01T18:48:09.762Z] ==> Detecting git/mercurial file structure [2023-03-01T18:48:09.762Z] ==> Reading reports [2023-03-01T18:48:09.762Z] + ./coverage.out bytes=13744 [2023-03-01T18:48:09.762Z] ==> Appending adjustments [2023-03-01T18:48:09.762Z] https://docs.codecov.io/docs/fixing-reports [2023-03-01T18:48:10.020Z] + Found adjustments [2023-03-01T18:48:10.020Z] ==> Gzipping contents [2023-03-01T18:48:10.020Z] 4.0K /tmp/codecov.NC7orL.gz [2023-03-01T18:48:10.020Z] ==> Uploading reports [2023-03-01T18:48:10.020Z] url: https://codecov.io [2023-03-01T18:48:10.020Z] query: branch=PR-260&commit=725131229238ddbdfb9d54e76d654455c8c38d57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-260%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=260&job=&cmd_args= [2023-03-01T18:48:10.020Z] -> Pinging Codecov [2023-03-01T18:48:10.020Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-260&commit=725131229238ddbdfb9d54e76d654455c8c38d57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-260%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=260&job=&cmd_args= [2023-03-01T18:48:10.020Z] -> Uploading to [2023-03-01T18:48:10.020Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-01/4E5D53B4F1F92C436F7061BF334D961C/725131229238ddbdfb9d54e76d654455c8c38d57/4cb3fe69-d103-4819-96d7-f1e9997b3a70.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T184809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e6d595643ec8d54f861a74071f0bc912e8085accd9a77a071035edd0d4f8166 [2023-03-01T18:48:10.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T18:48:10.020Z] Dload Upload Total Spent Left Speed [2023-03-01T18:48:10.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8916 --:--:-- --:--:-- --:--:-- 8916 [2023-03-01T18:48:10.537Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/725131229238ddbdfb9d54e76d654455c8c38d57 [Pipeline] } [2023-03-01T18:48:10.566Z] 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-03-01T18:48:12.324Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-260/archives ] [2023-03-01T18:48:12.324Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-260/archives [2023-03-01T18:48:12.324Z] total 16 [2023-03-01T18:48:12.324Z] drwxr-xr-x 3 root root 4096 Mar 1 18:38 . [2023-03-01T18:48:12.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 18:38 .. [2023-03-01T18:48:12.324Z] drwxr-xr-x 2 root root 4096 Mar 1 18:38 cost [2023-03-01T18:48:12.324Z] -rw-r--r-- 1 root root 86 Mar 1 18:38 cost.csv [2023-03-01T18:48:12.324Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-260/archives [2023-03-01T18:48:12.324Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-260/archives [2023-03-01T18:48:12.324Z] total 16 [2023-03-01T18:48:12.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 18:38 . [2023-03-01T18:48:12.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 18:38 .. [2023-03-01T18:48:12.324Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 18:38 cost [2023-03-01T18:48:12.324Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 18:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:12.703Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:13.600Z] ---> package-listing.sh [2023-03-01T18:48:13.600Z] ++ facter osfamily [2023-03-01T18:48:13.600Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T18:48:13.859Z] + OS_FAMILY=debian [2023-03-01T18:48:13.859Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-260 [2023-03-01T18:48:13.859Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T18:48:13.859Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T18:48:13.859Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T18:48:13.859Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T18:48:13.859Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-260 ']' [2023-03-01T18:48:13.859Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T18:48:13.859Z] + case "${OS_FAMILY}" in [2023-03-01T18:48:13.859Z] + dpkg -l [2023-03-01T18:48:13.859Z] + grep '^ii' [2023-03-01T18:48:13.859Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T18:48:13.859Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T18:48:13.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T18:48:13.859Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-260 ']' [2023-03-01T18:48:13.859Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-260/archives/ [2023-03-01T18:48:13.859Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-260/archives/ [Pipeline] echo [2023-03-01T18:48:13.895Z] 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-260/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T18:48:14.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T18:48:14.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T18:48:14.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T18:48:14.960Z] prd-ubuntu20.04-docker-8c-8g-7995 does not seem to be running inside a container [2023-03-01T18:48:15.014Z] $ 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-260/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-260 -v /w/workspace/gexfoundry_device-rest-go_PR-260:/w/workspace/gexfoundry_device-rest-go_PR-260:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-260@tmp:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T18:48:15.209Z] $ docker top 0fd8ead212aba0c6a4f4a12420021e815240635e57e8f0df82d56fd585fed270 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T18:48:15.578Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T18:48:15.896Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T18:48:16.204Z] + ls /var/log/sa-host [2023-03-01T18:48:16.204Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T18:48:16.414Z] provisioning config files... [2023-03-01T18:48:16.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-260@tmp/config11129155252801068386tmp [Pipeline] { [Pipeline] echo [2023-03-01T18:48:16.468Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:16.777Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T18:48:16.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:17.206Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T18:48:17.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:17.617Z] ---> sudo-logs.sh [2023-03-01T18:48:17.617Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T18:48:17.704Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:18.047Z] ---> job-cost.sh [2023-03-01T18:48:18.047Z] lf-activate-venv: SKIPPING [2023-03-01T18:48:18.047Z] DEBUG: total: 0.2199999988079071 [2023-03-01T18:48:18.047Z] INFO: Retrieving Stack Cost... [2023-03-01T18:48:18.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T18:48:18.873Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T18:48:18.911Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T18:48:19.228Z] ---> logs-deploy.sh [2023-03-01T18:48:19.228Z] lf-activate-venv: SKIPPING [2023-03-01T18:48:19.228Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-260/1 [2023-03-01T18:48:19.228Z] INFO: archiving workspace using pattern(s): [2023-03-01T18:48:20.163Z] Archives upload complete. [2023-03-01T18:48:20.163Z] INFO: archiving logs to Nexus