Pull request #235 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba rather than 8cdfce8159f304c35de74f4f467a78a85a036453 Obtained Jenkinsfile from 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 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-ssh15071799090166168697.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-ssh4860249018155142199.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-235/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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17384833362810454338.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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15918027848997440508.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-ssh9913471736015106753.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-235/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-235/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4521951199023541194.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1753 in /w/workspace/gexfoundry_device-rest-go_PR-235 [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-235 # 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/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 8cdfce8159f304c35de74f4f467a78a85a036453 Merge succeeded, producing 8cdfce8159f304c35de74f4f467a78a85a036453 Checking out Revision 8cdfce8159f304c35de74f4f467a78a85a036453 (PR-235) > git config core.sparsecheckout # timeout=10 > git checkout -f 8cdfce8159f304c35de74f4f467a78a85a036453 # 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 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cdfce8159f304c35de74f4f467a78a85a036453 # timeout=10 Commit message: "feat!: Remove ZeroMQ MessageBus capability" 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-01-10T23:27:41.226Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T23:27:41.404Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T23:27:41.507Z] ========================================================= [2023-01-10T23:27:41.507Z] EdgeX Global Pipelines Version Info [2023-01-10T23:27:41.507Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:27:42.244Z] ------------------- [2023-01-10T23:27:42.244Z] stable info: [2023-01-10T23:27:42.244Z] ------------------- [2023-01-10T23:27:42.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T23:27:42.244Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:27:42.244Z] Message: update stable to v1.0.244 [2023-01-10T23:27:42.811Z] ------------------- [2023-01-10T23:27:42.811Z] experimental info: [2023-01-10T23:27:42.811Z] ------------------- [2023-01-10T23:27:42.811Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T23:27:42.811Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:27:42.811Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T23:27:43.106Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-10T23:27:43.150Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-10T23:27:43.191Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T23:27:43.230Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T23:27:43.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T23:27:43.310Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T23:27:43.348Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T23:27:43.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T23:27:43.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T23:27:43.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T23:27:43.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T23:27:43.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-10T23:27:43.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T23:27:43.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T23:27:43.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T23:27:43.715Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T23:27:43.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T23:27:43.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T23:27:43.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T23:27:43.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T23:27:43.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T23:27:43.965Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T23:27:44.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T23:27:44.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T23:27:44.082Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T23:27:44.129Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T23:27:44.168Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T23:27:44.204Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-235 [Pipeline] echo [2023-01-10T23:27:44.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-235 [Pipeline] echo [2023-01-10T23:27:44.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-235 [Pipeline] echo [2023-01-10T23:27:44.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cdfce8159f304c35de74f4f467a78a85a036453 [Pipeline] echo [2023-01-10T23:27:44.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cdfce8 [Pipeline] echo [2023-01-10T23:27:44.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:27:44.506Z] provisioning config files... [2023-01-10T23:27:44.534Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp/config1743984913320626161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:27:44.879Z] ---> docker-login.sh [2023-01-10T23:27:44.879Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:27:45.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:27:45.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:27:45.140Z] Configure a credential helper to remove this warning. See [2023-01-10T23:27:45.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:27:45.140Z] [2023-01-10T23:27:45.140Z] Login Succeeded [2023-01-10T23:27:45.140Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:27:45.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:27:45.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:27:45.401Z] Configure a credential helper to remove this warning. See [2023-01-10T23:27:45.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:27:45.401Z] [2023-01-10T23:27:45.401Z] Login Succeeded [2023-01-10T23:27:45.401Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:27:45.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:27:45.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:27:45.401Z] Configure a credential helper to remove this warning. See [2023-01-10T23:27:45.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:27:45.401Z] [2023-01-10T23:27:45.401Z] Login Succeeded [2023-01-10T23:27:45.402Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:27:45.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:27:45.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:27:45.663Z] Configure a credential helper to remove this warning. See [2023-01-10T23:27:45.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:27:45.663Z] [2023-01-10T23:27:45.663Z] Login Succeeded [2023-01-10T23:27:45.663Z] docker.io [2023-01-10T23:27:45.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:27:45.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:27:45.925Z] Configure a credential helper to remove this warning. See [2023-01-10T23:27:45.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:27:45.925Z] [2023-01-10T23:27:45.925Z] Login Succeeded [2023-01-10T23:27:45.925Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:27:45.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T23:27:46.587Z] + git rev-list -1 --merges 8cdfce8159f304c35de74f4f467a78a85a036453~1..8cdfce8159f304c35de74f4f467a78a85a036453 [Pipeline] echo [2023-01-10T23:27:46.650Z] -----------> git rev-list -1 --merges 8cdfce8159f304c35de74f4f467a78a85a036453~1..8cdfce8159f304c35de74f4f467a78a85a036453 8cdfce8159f304c35de74f4f467a78a85a036453 [false] [Pipeline] sh [2023-01-10T23:27:46.962Z] + git log --format=format:%s -1 8cdfce8159f304c35de74f4f467a78a85a036453 [Pipeline] echo [2023-01-10T23:27:47.005Z] ========================================================= [2023-01-10T23:27:47.005Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T23:27:47.005Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:27:47.501Z] + git log --format=format:%s -1 8cdfce8159f304c35de74f4f467a78a85a036453 [Pipeline] echo [2023-01-10T23:27:47.536Z] [semverPrep] GIT_COMMIT: 8cdfce8159f304c35de74f4f467a78a85a036453, Commit Message: feat!: Remove ZeroMQ MessageBus capability [Pipeline] echo [2023-01-10T23:27:47.566Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T23:27:48.010Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T23:27:48.010Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T23:27:48.010Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T23:27:48.010Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T23:27:48.010Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T23:27:48.010Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T23:27:48.010Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:27:48.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:27:48.448Z] [2023-01-10T23:27:48.448Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:27:48.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:27:48.844Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T23:27:48.844Z] b85a868b505f: Pulling fs layer [2023-01-10T23:27:48.844Z] e2be974225ed: Pulling fs layer [2023-01-10T23:27:48.844Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T23:27:48.844Z] 988bab9f4d93: Pulling fs layer [2023-01-10T23:27:48.844Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T23:27:48.844Z] eaf3925da568: Pulling fs layer [2023-01-10T23:27:48.844Z] bab4dde63d76: Pulling fs layer [2023-01-10T23:27:48.844Z] bde34c3a00c8: Pulling fs layer [2023-01-10T23:27:48.844Z] b352a97aabf1: Pulling fs layer [2023-01-10T23:27:48.844Z] 4872d77fe225: Pulling fs layer [2023-01-10T23:27:48.844Z] 5851b861e8e6: Pulling fs layer [2023-01-10T23:27:48.844Z] 988bab9f4d93: Waiting [2023-01-10T23:27:48.844Z] bab4dde63d76: Waiting [2023-01-10T23:27:48.844Z] bde34c3a00c8: Waiting [2023-01-10T23:27:48.844Z] b352a97aabf1: Waiting [2023-01-10T23:27:48.844Z] 4872d77fe225: Waiting [2023-01-10T23:27:48.844Z] 5851b861e8e6: Waiting [2023-01-10T23:27:48.844Z] 1469e6f7b9e6: Waiting [2023-01-10T23:27:48.844Z] e2be974225ed: Verifying Checksum [2023-01-10T23:27:48.844Z] e2be974225ed: Download complete [2023-01-10T23:27:48.844Z] 988bab9f4d93: Download complete [2023-01-10T23:27:49.107Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T23:27:49.107Z] 1469e6f7b9e6: Download complete [2023-01-10T23:27:49.107Z] eaf3925da568: Verifying Checksum [2023-01-10T23:27:49.107Z] eaf3925da568: Download complete [2023-01-10T23:27:49.107Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T23:27:49.107Z] 339a4e72a1f5: Download complete [2023-01-10T23:27:49.107Z] bde34c3a00c8: Verifying Checksum [2023-01-10T23:27:49.107Z] bde34c3a00c8: Download complete [2023-01-10T23:27:49.107Z] b352a97aabf1: Verifying Checksum [2023-01-10T23:27:49.107Z] b352a97aabf1: Download complete [2023-01-10T23:27:49.107Z] 4872d77fe225: Verifying Checksum [2023-01-10T23:27:49.107Z] 4872d77fe225: Download complete [2023-01-10T23:27:49.107Z] 5851b861e8e6: Download complete [2023-01-10T23:27:49.107Z] b85a868b505f: Verifying Checksum [2023-01-10T23:27:49.107Z] b85a868b505f: Download complete [2023-01-10T23:27:49.366Z] bab4dde63d76: Verifying Checksum [2023-01-10T23:27:49.366Z] bab4dde63d76: Download complete [2023-01-10T23:27:50.303Z] b85a868b505f: Pull complete [2023-01-10T23:27:50.586Z] e2be974225ed: Pull complete [2023-01-10T23:27:51.159Z] 339a4e72a1f5: Pull complete [2023-01-10T23:27:51.159Z] 988bab9f4d93: Pull complete [2023-01-10T23:27:51.419Z] 1469e6f7b9e6: Pull complete [2023-01-10T23:27:51.419Z] eaf3925da568: Pull complete [2023-01-10T23:27:53.329Z] bab4dde63d76: Pull complete [2023-01-10T23:27:53.329Z] bde34c3a00c8: Pull complete [2023-01-10T23:27:53.329Z] b352a97aabf1: Pull complete [2023-01-10T23:27:53.329Z] 4872d77fe225: Pull complete [2023-01-10T23:27:53.329Z] 5851b861e8e6: Pull complete [2023-01-10T23:27:53.329Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T23:27:53.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:27:53.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:27:53.554Z] prd-ubuntu20.04-docker-8c-8g-1753 does not seem to be running inside a container [2023-01-10T23:27:53.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-235 -v /w/workspace/gexfoundry_device-rest-go_PR-235:/w/workspace/gexfoundry_device-rest-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-235@tmp:/w/workspace/gexfoundry_device-rest-go_PR-235@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-devops/py-git-semver:0.1.4 cat [2023-01-10T23:27:56.518Z] $ docker top c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c -eo pid,comm [2023-01-10T23:27:56.565Z] 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-01-10T23:27:56.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T23:27:56.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T23:27:56.698Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T23:27:56.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T23:27:56.821Z] $ docker exec c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c ssh-agent [2023-01-10T23:27:56.932Z] SSH_AUTH_SOCK=/tmp/ssh-SBtpHbuH6ZxD/agent.32 [2023-01-10T23:27:56.932Z] SSH_AGENT_PID=38 [2023-01-10T23:27:56.939Z] Running ssh-add (command line suppressed) [2023-01-10T23:27:57.045Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-235@tmp/private_key_9991517334148695917.key (/w/workspace/gexfoundry_device-rest-go_PR-235@tmp/private_key_9991517334148695917.key) [2023-01-10T23:27:57.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T23:27:57.387Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T23:27:57.417Z] $ docker exec --env ******** --env ******** c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c ssh-agent -k [2023-01-10T23:27:57.519Z] unset SSH_AUTH_SOCK; [2023-01-10T23:27:57.520Z] unset SSH_AGENT_PID; [2023-01-10T23:27:57.520Z] echo Agent pid 38 killed; [2023-01-10T23:27:57.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T23:27:57.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T23:27:57.620Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T23:27:57.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T23:27:57.724Z] $ docker exec c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c ssh-agent [2023-01-10T23:27:57.834Z] SSH_AUTH_SOCK=/tmp/ssh-wbEYtc2Fuvq0/agent.70 [2023-01-10T23:27:57.834Z] SSH_AGENT_PID=76 [2023-01-10T23:27:57.839Z] Running ssh-add (command line suppressed) [2023-01-10T23:27:57.942Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-235@tmp/private_key_17554889797539529395.key (/w/workspace/gexfoundry_device-rest-go_PR-235@tmp/private_key_17554889797539529395.key) [2023-01-10T23:27:57.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T23:27:58.281Z] + git semver init [2023-01-10T23:27:58.540Z] 2023-01-10 23:27:58,446 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T23:27:58.540Z] 2023-01-10 23:27:58,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-235/.semver [2023-01-10T23:27:58.540Z] 2023-01-10 23:27:58,448 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-235/.semver [2023-01-10T23:27:58.540Z] 2023-01-10 23:27:58,448 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-235/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-235, universal_newlines=False, shell=None, istream=None) [2023-01-10T23:27:59.921Z] 2023-01-10 23:27:59,544 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-235/.git/info/exclude [2023-01-10T23:27:59.921Z] 2023-01-10 23:27:59,544 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-235/.semver/PR-235 with force:False [2023-01-10T23:27:59.921Z] 2023-01-10 23:27:59,544 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-235/.semver/PR-235 [2023-01-10T23:27:59.921Z] 2023-01-10 23:27:59,548 [execute] INFO git cat-file --batch-check [2023-01-10T23:27:59.922Z] 2023-01-10 23:27:59,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T23:27:59.922Z] 2023-01-10 23:27:59,554 [execute] INFO git cat-file --batch [2023-01-10T23:27:59.922Z] 2023-01-10 23:27:59,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T23:27:59.922Z] 2023-01-10 23:27:59,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-235/.semver/PR-235 [2023-01-10T23:27:59.922Z] 0.0.0 [Pipeline] } [2023-01-10T23:27:59.952Z] $ docker exec --env ******** --env ******** c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c ssh-agent -k [2023-01-10T23:28:00.062Z] unset SSH_AUTH_SOCK; [2023-01-10T23:28:00.062Z] unset SSH_AGENT_PID; [2023-01-10T23:28:00.062Z] echo Agent pid 76 killed; [2023-01-10T23:28:00.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T23:28:00.493Z] + git semver [Pipeline] } [2023-01-10T23:28:00.781Z] $ docker stop --time=1 c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c [2023-01-10T23:28:02.078Z] $ docker rm -f --volumes c8f98b469a9ea50bfa7615e1e9569e04ccd07cffc681993b8d0eb48891722f9c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:28:02.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T23:28:02.763Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T23:28:02.781Z] [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-01-10T23:28:03.355Z] provisioning config files... [2023-01-10T23:28:03.365Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp/config5524428901314165771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:28:03.716Z] ---> docker-login.sh [2023-01-10T23:28:03.716Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:28:03.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:28:03.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:28:03.716Z] Configure a credential helper to remove this warning. See [2023-01-10T23:28:03.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:28:03.716Z] [2023-01-10T23:28:03.716Z] Login Succeeded [2023-01-10T23:28:03.716Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:28:03.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:28:03.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:28:03.716Z] Configure a credential helper to remove this warning. See [2023-01-10T23:28:03.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:28:03.716Z] [2023-01-10T23:28:03.716Z] Login Succeeded [2023-01-10T23:28:03.716Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:28:03.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:28:03.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:28:03.976Z] Configure a credential helper to remove this warning. See [2023-01-10T23:28:03.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:28:03.976Z] [2023-01-10T23:28:03.976Z] Login Succeeded [2023-01-10T23:28:03.976Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:28:03.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:28:03.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:28:03.976Z] Configure a credential helper to remove this warning. See [2023-01-10T23:28:03.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:28:03.976Z] [2023-01-10T23:28:03.976Z] Login Succeeded [2023-01-10T23:28:03.976Z] docker.io [2023-01-10T23:28:04.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:28:04.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:28:04.235Z] Configure a credential helper to remove this warning. See [2023-01-10T23:28:04.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:28:04.235Z] [2023-01-10T23:28:04.235Z] Login Succeeded [2023-01-10T23:28:04.235Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:28:04.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T23:28:04.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:28:04.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:28:04.528Z] ========================================================= [2023-01-10T23:28:04.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T23:28:04.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:28:04.982Z] + 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-01-10T23:28:04.982Z] Sending build context to Docker daemon 10.79MB [2023-01-10T23:28:04.982Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:28:04.982Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T23:28:04.982Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T23:28:04.982Z] 213ec9aee27d: Pulling fs layer [2023-01-10T23:28:04.982Z] 4583459ba037: Pulling fs layer [2023-01-10T23:28:04.982Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T23:28:04.982Z] 53926ce57604: Pulling fs layer [2023-01-10T23:28:04.982Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T23:28:04.982Z] 53926ce57604: Waiting [2023-01-10T23:28:04.982Z] 22ff95d597cd: Pulling fs layer [2023-01-10T23:28:04.982Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T23:28:04.982Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T23:28:04.982Z] a7acece74701: Pulling fs layer [2023-01-10T23:28:04.982Z] 22ff95d597cd: Waiting [2023-01-10T23:28:04.982Z] 12d6caf4c0d1: Waiting [2023-01-10T23:28:04.982Z] 96b7cbca73a9: Waiting [2023-01-10T23:28:04.982Z] a7acece74701: Waiting [2023-01-10T23:28:05.247Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T23:28:05.247Z] 93c1e223e6f2: Download complete [2023-01-10T23:28:05.247Z] 4583459ba037: Verifying Checksum [2023-01-10T23:28:05.247Z] 4583459ba037: Download complete [2023-01-10T23:28:05.247Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T23:28:05.247Z] 21b2b0c7a3f4: Download complete [2023-01-10T23:28:05.247Z] 22ff95d597cd: Verifying Checksum [2023-01-10T23:28:05.247Z] 22ff95d597cd: Download complete [2023-01-10T23:28:05.247Z] 213ec9aee27d: Verifying Checksum [2023-01-10T23:28:05.247Z] 213ec9aee27d: Download complete [2023-01-10T23:28:05.247Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T23:28:05.247Z] 12d6caf4c0d1: Download complete [2023-01-10T23:28:05.247Z] 213ec9aee27d: Pull complete [2023-01-10T23:28:05.517Z] 4583459ba037: Pull complete [2023-01-10T23:28:05.517Z] 93c1e223e6f2: Pull complete [2023-01-10T23:28:05.795Z] a7acece74701: Verifying Checksum [2023-01-10T23:28:05.795Z] a7acece74701: Download complete [2023-01-10T23:28:06.059Z] 53926ce57604: Verifying Checksum [2023-01-10T23:28:06.059Z] 53926ce57604: Download complete [2023-01-10T23:28:06.059Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T23:28:06.059Z] 96b7cbca73a9: Download complete [2023-01-10T23:28:10.248Z] 53926ce57604: Pull complete [2023-01-10T23:28:10.248Z] 21b2b0c7a3f4: Pull complete [2023-01-10T23:28:10.248Z] 22ff95d597cd: Pull complete [2023-01-10T23:28:10.248Z] 12d6caf4c0d1: Pull complete [2023-01-10T23:28:12.148Z] 96b7cbca73a9: Pull complete [2023-01-10T23:28:12.713Z] a7acece74701: Pull complete [2023-01-10T23:28:12.713Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T23:28:12.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T23:28:12.713Z] ---> db6d94c90886 [2023-01-10T23:28:12.713Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:28:17.994Z] ---> Running in a059bd52bd14 [2023-01-10T23:28:17.994Z] Removing intermediate container a059bd52bd14 [2023-01-10T23:28:17.994Z] ---> 6e8b6e72c5cf [2023-01-10T23:28:17.994Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:28:17.994Z] ---> Running in f11b4b1d14a2 [2023-01-10T23:28:17.994Z] Removing intermediate container f11b4b1d14a2 [2023-01-10T23:28:17.994Z] ---> 4096f595d918 [2023-01-10T23:28:17.994Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:28:17.994Z] ---> Running in 39c9b6b241ed [2023-01-10T23:28:17.994Z] Removing intermediate container 39c9b6b241ed [2023-01-10T23:28:17.994Z] ---> 24aeca751dd9 [2023-01-10T23:28:17.994Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:28:17.994Z] ---> Running in 679586e7ab34 [2023-01-10T23:28:18.183Z] Still waiting to schedule task [2023-01-10T23:28:18.183Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T23:28:18.254Z] Removing intermediate container 679586e7ab34 [2023-01-10T23:28:18.254Z] ---> 1430ddff2436 [2023-01-10T23:28:18.254Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:28:18.254Z] ---> Running in 28a4815b8c10 [2023-01-10T23:28:18.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:28:18.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:28:18.771Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T23:28:18.771Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T23:28:18.771Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T23:28:19.030Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T23:28:19.030Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:28:19.030Z] OK: 216 MiB in 55 packages [2023-01-10T23:28:19.598Z] Removing intermediate container 28a4815b8c10 [2023-01-10T23:28:19.598Z] ---> 449d14977c76 [2023-01-10T23:28:19.598Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T23:28:19.598Z] ---> Running in 7f23057d0125 [2023-01-10T23:28:19.598Z] Removing intermediate container 7f23057d0125 [2023-01-10T23:28:19.598Z] ---> 8d996178ae5b [2023-01-10T23:28:19.598Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T23:28:19.598Z] ---> 649fe27081da [2023-01-10T23:28:19.598Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:28:19.598Z] ---> Running in a254569c2ab5 [2023-01-10T23:28:46.161Z] Removing intermediate container a254569c2ab5 [2023-01-10T23:28:46.161Z] ---> 9493c755c170 [2023-01-10T23:28:46.161Z] Step 11/12 : COPY . . [2023-01-10T23:28:46.161Z] ---> d8b7afe802ea [2023-01-10T23:28:46.161Z] Step 12/12 : RUN $MAKE [2023-01-10T23:28:46.161Z] ---> Running in c205481c222f [2023-01-10T23:28:46.161Z] noop [2023-01-10T23:28:46.162Z] Removing intermediate container c205481c222f [2023-01-10T23:28:46.162Z] ---> db0ec963d1d6 [2023-01-10T23:28:46.162Z] Successfully built db0ec963d1d6 [2023-01-10T23:28:46.162Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:28:46.605Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T23:28:46.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:28:46.751Z] prd-ubuntu20.04-docker-8c-8g-1753 does not seem to be running inside a container [2023-01-10T23:28:46.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-235 -v /w/workspace/gexfoundry_device-rest-go_PR-235:/w/workspace/gexfoundry_device-rest-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-235@tmp:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T23:28:47.100Z] $ docker top 8205b0c72bc1018b6bd26f893f4b9301ff60457b584b39c9faa813dd7384b61f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:28:47.485Z] + go version [2023-01-10T23:28:47.485Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T23:28:47.518Z] $ docker stop --time=1 8205b0c72bc1018b6bd26f893f4b9301ff60457b584b39c9faa813dd7384b61f [2023-01-10T23:28:48.763Z] $ docker rm -f --volumes 8205b0c72bc1018b6bd26f893f4b9301ff60457b584b39c9faa813dd7384b61f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:28:49.501Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T23:28:49.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:28:49.656Z] prd-ubuntu20.04-docker-8c-8g-1753 does not seem to be running inside a container [2023-01-10T23:28:49.687Z] $ 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-235 -v /w/workspace/gexfoundry_device-rest-go_PR-235:/w/workspace/gexfoundry_device-rest-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-235@tmp:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T23:28:50.039Z] $ docker top d45baa694783364b8c89096b45eecc366a2fa4b6d10b898faeb138b2cbf2be6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:28:50.428Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-235 [Pipeline] fileExists [Pipeline] sh [2023-01-10T23:28:50.794Z] + make test [2023-01-10T23:28:50.794Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T23:28:51.053Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T23:29:01.025Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T23:29:01.025Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2023-01-10T23:29:07.633Z] 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-01-10T23:29:07.633Z] go vet ./... [2023-01-10T23:29:10.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T23:29:10.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T23:29:10.919Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T23:29:10.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T23:29:10.983Z] $ docker stop --time=1 d45baa694783364b8c89096b45eecc366a2fa4b6d10b898faeb138b2cbf2be6f [2023-01-10T23:29:13.470Z] $ docker rm -f --volumes d45baa694783364b8c89096b45eecc366a2fa4b6d10b898faeb138b2cbf2be6f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:29:13.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T23:29:14.028Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T23:29:14.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T23:29:14.932Z] + ls -al . [2023-01-10T23:29:14.932Z] total 188 [2023-01-10T23:29:14.932Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:28 . [2023-01-10T23:29:14.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:27 .. [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:27 .dockerignore [2023-01-10T23:29:14.932Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:29 .git [2023-01-10T23:29:14.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:27 .github [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:27 .gitignore [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:27 .golangci.yml [2023-01-10T23:29:14.932Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:27 .semver [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:27 Attribution.txt [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:27 CHANGELOG.md [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:27 Dockerfile [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:27 GOVERNANCE.md [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:27 Jenkinsfile [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:27 LICENSE [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:27 Makefile [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:27 OWNERS.md [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:27 README.md [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:28 VERSION [2023-01-10T23:29:14.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:27 bin [2023-01-10T23:29:14.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:27 cmd [2023-01-10T23:29:14.932Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:28 coverage.out [2023-01-10T23:29:14.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:27 driver [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:27 go.mod [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:27 go.sum [2023-01-10T23:29:14.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:27 snap [2023-01-10T23:29:14.932Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:29:15.317Z] + 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=8cdfce8159f304c35de74f4f467a78a85a036453 --label arch=amd64 --label version=0.0.0 . [2023-01-10T23:29:15.317Z] Sending build context to Docker daemon 10.8MB [2023-01-10T23:29:15.317Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:29:15.317Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T23:29:15.317Z] ---> db0ec963d1d6 [2023-01-10T23:29:15.317Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:29:15.575Z] ---> Running in 7a0ad243572e [2023-01-10T23:29:15.575Z] Removing intermediate container 7a0ad243572e [2023-01-10T23:29:15.575Z] ---> 706785af510d [2023-01-10T23:29:15.575Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:29:15.575Z] ---> Running in 7ff17a6adec4 [2023-01-10T23:29:15.575Z] Removing intermediate container 7ff17a6adec4 [2023-01-10T23:29:15.575Z] ---> a580db8a57dc [2023-01-10T23:29:15.575Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:29:15.575Z] ---> Running in 52171b1bcd78 [2023-01-10T23:29:15.834Z] Removing intermediate container 52171b1bcd78 [2023-01-10T23:29:15.834Z] ---> 2d4df4442d89 [2023-01-10T23:29:15.834Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:29:15.834Z] ---> Running in 6fd361efc426 [2023-01-10T23:29:15.834Z] Removing intermediate container 6fd361efc426 [2023-01-10T23:29:15.834Z] ---> 1d7bfdc2fadc [2023-01-10T23:29:15.834Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:29:15.834Z] ---> Running in ed3a3c1b6bc2 [2023-01-10T23:29:16.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:29:16.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:29:16.608Z] OK: 216 MiB in 55 packages [2023-01-10T23:29:16.866Z] Removing intermediate container ed3a3c1b6bc2 [2023-01-10T23:29:16.866Z] ---> 129b3c943e88 [2023-01-10T23:29:16.866Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-10T23:29:16.866Z] ---> Running in 2f1f058d9242 [2023-01-10T23:29:17.124Z] Removing intermediate container 2f1f058d9242 [2023-01-10T23:29:17.124Z] ---> 86fa5c0b8def [2023-01-10T23:29:17.124Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T23:29:17.124Z] ---> 0568dbbdd4af [2023-01-10T23:29:17.124Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:29:17.124Z] ---> Running in 0b12ab493f1e [2023-01-10T23:29:17.691Z] Removing intermediate container 0b12ab493f1e [2023-01-10T23:29:17.691Z] ---> f7e760e6308d [2023-01-10T23:29:17.691Z] Step 11/25 : COPY . . [2023-01-10T23:29:18.257Z] ---> 021c740db7fe [2023-01-10T23:29:18.257Z] Step 12/25 : RUN $MAKE [2023-01-10T23:29:18.257Z] ---> Running in b007ba16f3c6 [2023-01-10T23:29:18.515Z] 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-01-10T23:29:36.611Z] Removing intermediate container b007ba16f3c6 [2023-01-10T23:29:36.611Z] ---> fc23184c1a00 [2023-01-10T23:29:36.611Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T23:29:36.872Z] 3.16: Pulling from library/alpine [2023-01-10T23:29:36.872Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T23:29:37.132Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T23:29:37.132Z] ca7dd9ec2225: Download complete [2023-01-10T23:29:37.393Z] ca7dd9ec2225: Pull complete [2023-01-10T23:29:37.393Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T23:29:37.393Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T23:29:37.393Z] ---> bfe296a52501 [2023-01-10T23:29:37.393Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T23:29:37.393Z] ---> Running in d2bb36382ce7 [2023-01-10T23:29:37.651Z] Removing intermediate container d2bb36382ce7 [2023-01-10T23:29:37.651Z] ---> 4598faafd3bc [2023-01-10T23:29:37.651Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-10T23:29:37.651Z] ---> Running in 9ef7a54cd2c4 [2023-01-10T23:29:37.651Z] Removing intermediate container 9ef7a54cd2c4 [2023-01-10T23:29:37.651Z] ---> cc6a24517e93 [2023-01-10T23:29:37.651Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T23:29:37.651Z] ---> Running in cb5fb854cf68 [2023-01-10T23:29:37.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:29:38.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:29:38.430Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T23:29:38.430Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:29:38.430Z] OK: 6 MiB in 15 packages [2023-01-10T23:29:38.688Z] Removing intermediate container cb5fb854cf68 [2023-01-10T23:29:38.688Z] ---> 41bc6a4e6179 [2023-01-10T23:29:38.688Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-10T23:29:39.254Z] ---> 1c1c4f31ae9d [2023-01-10T23:29:39.254Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-10T23:29:39.514Z] ---> bf822577c2f7 [2023-01-10T23:29:39.514Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-10T23:29:39.514Z] ---> fda69b5eacaa [2023-01-10T23:29:39.514Z] Step 20/25 : EXPOSE 59986 [2023-01-10T23:29:39.514Z] ---> Running in 11cfd5999818 [2023-01-10T23:29:39.774Z] Removing intermediate container 11cfd5999818 [2023-01-10T23:29:39.774Z] ---> cbc2bce51328 [2023-01-10T23:29:39.774Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-10T23:29:39.774Z] ---> Running in c1b0047f7053 [2023-01-10T23:29:39.774Z] Removing intermediate container c1b0047f7053 [2023-01-10T23:29:39.774Z] ---> 6d6d0175e70a [2023-01-10T23:29:39.774Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T23:29:39.774Z] ---> Running in bdab0080c2ea [2023-01-10T23:29:39.774Z] Removing intermediate container bdab0080c2ea [2023-01-10T23:29:39.774Z] ---> 5a932b514331 [2023-01-10T23:29:39.774Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T23:29:40.032Z] ---> Running in b48c3540f879 [2023-01-10T23:29:40.032Z] Removing intermediate container b48c3540f879 [2023-01-10T23:29:40.032Z] ---> 512b5c3c7ec1 [2023-01-10T23:29:40.032Z] Step 24/25 : LABEL git_sha=8cdfce8159f304c35de74f4f467a78a85a036453 [2023-01-10T23:29:40.032Z] ---> Running in bc918ce5406a [2023-01-10T23:29:40.032Z] Removing intermediate container bc918ce5406a [2023-01-10T23:29:40.032Z] ---> d9f39772975b [2023-01-10T23:29:40.032Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T23:29:40.032Z] ---> Running in 5733896cfd6c [2023-01-10T23:29:40.290Z] Removing intermediate container 5733896cfd6c [2023-01-10T23:29:40.290Z] ---> 9e1ba9c43bb7 [2023-01-10T23:29:40.290Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T23:29:40.290Z] Successfully built 9e1ba9c43bb7 [2023-01-10T23:29:40.290Z] 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-01-10T23:29:41.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:29:41.179Z] [2023-01-10T23:29:41.179Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:29:41.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:29:41.558Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T23:29:41.558Z] 5eb5b503b376: Pulling fs layer [2023-01-10T23:29:41.558Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T23:29:41.558Z] ec43610c2a17: Pulling fs layer [2023-01-10T23:29:41.558Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T23:29:41.558Z] 33b1e0a273af: Pulling fs layer [2023-01-10T23:29:41.558Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T23:29:41.558Z] 2f39f015ded8: Pulling fs layer [2023-01-10T23:29:41.558Z] 5d3b04190fa2: Waiting [2023-01-10T23:29:41.558Z] 3a2ae6a8a46f: Waiting [2023-01-10T23:29:41.558Z] 2f39f015ded8: Waiting [2023-01-10T23:29:41.558Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T23:29:41.558Z] 5c69ac0246d0: Download complete [2023-01-10T23:29:41.558Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T23:29:41.558Z] 3a2ae6a8a46f: Download complete [2023-01-10T23:29:41.558Z] 33b1e0a273af: Verifying Checksum [2023-01-10T23:29:41.558Z] 33b1e0a273af: Download complete [2023-01-10T23:29:41.833Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T23:29:41.833Z] 5d3b04190fa2: Download complete [2023-01-10T23:29:41.833Z] ec43610c2a17: Verifying Checksum [2023-01-10T23:29:41.833Z] 5eb5b503b376: Verifying Checksum [2023-01-10T23:29:41.833Z] 5eb5b503b376: Download complete [2023-01-10T23:29:42.402Z] 2f39f015ded8: Download complete [2023-01-10T23:29:42.970Z] 5eb5b503b376: Pull complete [2023-01-10T23:29:43.229Z] 5c69ac0246d0: Pull complete [2023-01-10T23:29:43.797Z] ec43610c2a17: Pull complete [2023-01-10T23:29:43.797Z] 3a2ae6a8a46f: Pull complete [2023-01-10T23:29:44.058Z] 33b1e0a273af: Pull complete [2023-01-10T23:29:44.058Z] 5d3b04190fa2: Pull complete [2023-01-10T23:29:48.253Z] 2f39f015ded8: Pull complete [2023-01-10T23:29:48.253Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T23:29:48.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:29:48.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:29:48.474Z] prd-ubuntu20.04-docker-8c-8g-1753 does not seem to be running inside a container [2023-01-10T23:29:48.508Z] $ 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-235 -v /w/workspace/gexfoundry_device-rest-go_PR-235:/w/workspace/gexfoundry_device-rest-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-235@tmp:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T23:29:51.440Z] $ docker top 9678660be910428ed43e03259ad596b651d41dce809606b67c3991cad686e71d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:29:51.878Z] ---> job-cost.sh [2023-01-10T23:29:51.878Z] lf-activate-venv: SKIPPING [2023-01-10T23:29:51.878Z] INFO: No Stack... [2023-01-10T23:29:52.137Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T23:29:52.396Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T23:29:52.709Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-235/archives/cost.csv [2023-01-10T23:29:52.709Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T23:29:52.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] [2023-01-10T23:29:52.753Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] did not exist. Created. [2023-01-10T23:29:52.753Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T23:29:53.132Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T23:29:53.195Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T23:29:53.237Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T23:29:53.305Z] $ docker stop --time=1 9678660be910428ed43e03259ad596b651d41dce809606b67c3991cad686e71d [2023-01-10T23:29:54.757Z] $ docker rm -f --volumes 9678660be910428ed43e03259ad596b651d41dce809606b67c3991cad686e71d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T23:31:10.024Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1755 in /w/workspace/gexfoundry_device-rest-go_PR-235 [Pipeline] { [Pipeline] ws [2023-01-10T23:31:10.077Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T23:31:10.150Z] The recommended git tool is: git [2023-01-10T23:31:15.669Z] using credential edgex-jenkins-ssh [2023-01-10T23:31:15.692Z] Cloning the remote Git repository [2023-01-10T23:31:15.739Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:31:15.816Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-10T23:31:15.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:31:15.964Z] > git --version # timeout=10 [2023-01-10T23:31:15.988Z] > git --version # 'git version 2.25.1' [2023-01-10T23:31:15.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:31:16.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T23:31:17.876Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T23:31:17.906Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T23:31:18.825Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T23:31:18.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:31:18.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:31:18.894Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T23:31:19.435Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 8cdfce8159f304c35de74f4f467a78a85a036453 [2023-01-10T23:31:19.690Z] Merge succeeded, producing 8cdfce8159f304c35de74f4f467a78a85a036453 [2023-01-10T23:31:19.690Z] Checking out Revision 8cdfce8159f304c35de74f4f467a78a85a036453 (PR-235) [2023-01-10T23:31:19.458Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T23:31:19.478Z] > git checkout -f 8cdfce8159f304c35de74f4f467a78a85a036453 # timeout=10 [2023-01-10T23:31:19.568Z] > git remote # timeout=10 [2023-01-10T23:31:19.589Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T23:31:19.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:31:19.632Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-10T23:31:19.662Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T23:31:19.700Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T23:31:19.717Z] > git checkout -f 8cdfce8159f304c35de74f4f467a78a85a036453 # timeout=10 [2023-01-10T23:31:23.217Z] Commit message: "feat!: Remove ZeroMQ MessageBus capability" [2023-01-10T23:31:23.281Z] > git --version # timeout=10 [2023-01-10T23:31:23.297Z] > git --version # 'git version 2.25.1' [2023-01-10T23:31:23.315Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:31:24.431Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T23:31:24.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T23:31:24.431Z] Dload Upload Total Spent Left Speed [2023-01-10T23:31:24.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2023-01-10T23:31:25.024Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T23:31:25.383Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T23:31:25.383Z] + sudo tee /etc/docker/daemon.new [2023-01-10T23:31:25.383Z] { [2023-01-10T23:31:25.383Z] "registry-mirrors": [ [2023-01-10T23:31:25.383Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T23:31:25.383Z] ], [2023-01-10T23:31:25.383Z] "bip": "10.250.0.254/24", [2023-01-10T23:31:25.383Z] "hosts": [ [2023-01-10T23:31:25.383Z] "tcp://0.0.0.0:5555", [2023-01-10T23:31:25.383Z] "unix:///var/run/docker.sock" [2023-01-10T23:31:25.383Z] ], [2023-01-10T23:31:25.383Z] "mtu": 1458, [2023-01-10T23:31:25.383Z] "selinux-enabled": true, [2023-01-10T23:31:25.383Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T23:31:25.383Z] } [Pipeline] sh [2023-01-10T23:31:25.781Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T23:31:26.130Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:31:44.451Z] provisioning config files... [2023-01-10T23:31:44.482Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5056049736718883906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:31:44.882Z] ---> docker-login.sh [2023-01-10T23:31:44.882Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:31:45.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:45.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:45.471Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:45.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:45.471Z] [2023-01-10T23:31:45.471Z] Login Succeeded [2023-01-10T23:31:45.471Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:31:45.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:45.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:45.741Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:45.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:45.741Z] [2023-01-10T23:31:45.741Z] Login Succeeded [2023-01-10T23:31:45.741Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:31:46.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:46.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:46.281Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:46.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:46.281Z] [2023-01-10T23:31:46.281Z] Login Succeeded [2023-01-10T23:31:46.281Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:31:46.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:46.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:46.558Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:46.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:46.558Z] [2023-01-10T23:31:46.558Z] Login Succeeded [2023-01-10T23:31:46.558Z] docker.io [2023-01-10T23:31:46.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:47.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:47.093Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:47.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:47.093Z] [2023-01-10T23:31:47.093Z] Login Succeeded [2023-01-10T23:31:47.093Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:31:47.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T23:31:47.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:31:47.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:31:47.539Z] ========================================================= [2023-01-10T23:31:47.539Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T23:31:47.539Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:31:48.031Z] + 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-01-10T23:31:48.031Z] Sending build context to Docker daemon 128.5kB [2023-01-10T23:31:49.989Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:31:49.989Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T23:31:49.989Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T23:31:49.989Z] 9b18e9b68314: Pulling fs layer [2023-01-10T23:31:49.989Z] 35d82f9e3411: Pulling fs layer [2023-01-10T23:31:49.989Z] e16973657156: Pulling fs layer [2023-01-10T23:31:49.989Z] fc693d55d65f: Pulling fs layer [2023-01-10T23:31:49.989Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T23:31:49.989Z] dda99020689f: Pulling fs layer [2023-01-10T23:31:49.989Z] db1c61fa0a46: Pulling fs layer [2023-01-10T23:31:49.989Z] 891c053d2c06: Pulling fs layer [2023-01-10T23:31:49.989Z] dda99020689f: Waiting [2023-01-10T23:31:49.989Z] db1c61fa0a46: Waiting [2023-01-10T23:31:49.989Z] 891c053d2c06: Waiting [2023-01-10T23:31:49.989Z] fc693d55d65f: Waiting [2023-01-10T23:31:49.989Z] 7e9fc2657dce: Waiting [2023-01-10T23:31:49.989Z] e16973657156: Verifying Checksum [2023-01-10T23:31:49.989Z] e16973657156: Download complete [2023-01-10T23:31:49.989Z] 35d82f9e3411: Verifying Checksum [2023-01-10T23:31:49.989Z] 35d82f9e3411: Download complete [2023-01-10T23:31:49.989Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T23:31:49.989Z] 7e9fc2657dce: Download complete [2023-01-10T23:31:49.989Z] dda99020689f: Verifying Checksum [2023-01-10T23:31:49.989Z] dda99020689f: Download complete [2023-01-10T23:31:49.989Z] 9b18e9b68314: Verifying Checksum [2023-01-10T23:31:49.989Z] 9b18e9b68314: Download complete [2023-01-10T23:31:50.973Z] 9b18e9b68314: Pull complete [2023-01-10T23:31:50.974Z] 891c053d2c06: Verifying Checksum [2023-01-10T23:31:50.974Z] 891c053d2c06: Download complete [2023-01-10T23:31:51.242Z] 35d82f9e3411: Pull complete [2023-01-10T23:31:51.839Z] e16973657156: Pull complete [2023-01-10T23:31:52.113Z] db1c61fa0a46: Verifying Checksum [2023-01-10T23:31:52.113Z] db1c61fa0a46: Download complete [2023-01-10T23:31:52.700Z] fc693d55d65f: Download complete [2023-01-10T23:32:05.040Z] fc693d55d65f: Pull complete [2023-01-10T23:32:05.040Z] 7e9fc2657dce: Pull complete [2023-01-10T23:32:05.040Z] dda99020689f: Pull complete [2023-01-10T23:32:11.710Z] db1c61fa0a46: Pull complete [2023-01-10T23:32:13.683Z] 891c053d2c06: Pull complete [2023-01-10T23:32:13.683Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T23:32:13.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T23:32:13.683Z] ---> f96f9c87975a [2023-01-10T23:32:13.683Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:32:14.355Z] ---> Running in fb22c4d032fe [2023-01-10T23:32:14.624Z] Removing intermediate container fb22c4d032fe [2023-01-10T23:32:14.625Z] ---> 66e6c4b9f813 [2023-01-10T23:32:14.625Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:32:14.625Z] ---> Running in 13abf90bde97 [2023-01-10T23:32:14.894Z] Removing intermediate container 13abf90bde97 [2023-01-10T23:32:14.894Z] ---> c3c3d7691836 [2023-01-10T23:32:14.894Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:32:15.166Z] ---> Running in 3400bddcc8cd [2023-01-10T23:32:15.433Z] Removing intermediate container 3400bddcc8cd [2023-01-10T23:32:15.433Z] ---> 14cc0a8db5a8 [2023-01-10T23:32:15.433Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:32:15.433Z] ---> Running in 0f3d915535f9 [2023-01-10T23:32:15.702Z] Removing intermediate container 0f3d915535f9 [2023-01-10T23:32:15.702Z] ---> 090f5c8ae9c8 [2023-01-10T23:32:15.702Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:32:15.973Z] ---> Running in 565c928ba856 [2023-01-10T23:32:16.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:32:17.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:32:18.165Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T23:32:18.431Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T23:32:18.431Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T23:32:18.431Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T23:32:18.431Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:32:18.431Z] OK: 226 MiB in 55 packages [2023-01-10T23:32:19.404Z] Removing intermediate container 565c928ba856 [2023-01-10T23:32:19.404Z] ---> c670d3bcdf4c [2023-01-10T23:32:19.404Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T23:32:19.673Z] ---> Running in bb9625f7deb2 [2023-01-10T23:32:19.944Z] Removing intermediate container bb9625f7deb2 [2023-01-10T23:32:19.944Z] ---> a2fd1bb572d1 [2023-01-10T23:32:19.944Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T23:32:20.215Z] ---> eab61c6ad932 [2023-01-10T23:32:20.216Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:32:20.486Z] ---> Running in 0ca90aa51c9c [2023-01-10T23:33:16.958Z] Removing intermediate container 0ca90aa51c9c [2023-01-10T23:33:16.958Z] ---> f307422e1e07 [2023-01-10T23:33:16.958Z] Step 11/12 : COPY . . [2023-01-10T23:33:16.958Z] ---> 4b22ddbf8326 [2023-01-10T23:33:16.958Z] Step 12/12 : RUN $MAKE [2023-01-10T23:33:16.958Z] ---> Running in 9de58a712002 [2023-01-10T23:33:16.958Z] noop [2023-01-10T23:33:16.958Z] Removing intermediate container 9de58a712002 [2023-01-10T23:33:16.958Z] ---> d07d08b731cd [2023-01-10T23:33:16.958Z] Successfully built d07d08b731cd [2023-01-10T23:33:16.958Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:33:17.448Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T23:33:17.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:33:17.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-1755 does not seem to be running inside a container [2023-01-10T23:33:17.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T23:33:19.073Z] $ docker top 6c5ed26b6c97ebcb61010655ca743157ea0f404f0324e0ae9a965daed07f6e97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:33:19.987Z] + go version [2023-01-10T23:33:19.987Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T23:33:20.028Z] $ docker stop --time=1 6c5ed26b6c97ebcb61010655ca743157ea0f404f0324e0ae9a965daed07f6e97 [2023-01-10T23:33:21.664Z] $ docker rm -f --volumes 6c5ed26b6c97ebcb61010655ca743157ea0f404f0324e0ae9a965daed07f6e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:33:22.525Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T23:33:22.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:33:22.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-1755 does not seem to be running inside a container [2023-01-10T23:33:22.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T23:33:24.004Z] $ docker top 21091b90c562ab5c19133e43f7fa3f15e1e4c5b022e47c0b686b0c60da6e9db8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:33:24.567Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T23:33:25.231Z] + make test [2023-01-10T23:33:25.499Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T23:33:26.974Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T23:35:03.691Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T23:35:03.691Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements [2023-01-10T23:35:03.691Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T23:35:03.691Z] go vet ./... [2023-01-10T23:35:21.923Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T23:35:21.923Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T23:35:21.923Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T23:35:21.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T23:35:22.008Z] $ docker stop --time=1 21091b90c562ab5c19133e43f7fa3f15e1e4c5b022e47c0b686b0c60da6e9db8 [2023-01-10T23:35:23.891Z] $ docker rm -f --volumes 21091b90c562ab5c19133e43f7fa3f15e1e4c5b022e47c0b686b0c60da6e9db8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:35:24.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T23:35:25.034Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T23:35:25.701Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:35:26.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T23:35:26.691Z] + ls -al . [2023-01-10T23:35:26.691Z] total 184 [2023-01-10T23:35:26.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:33 . [2023-01-10T23:35:26.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:31 .. [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:31 .dockerignore [2023-01-10T23:35:26.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:31 .git [2023-01-10T23:35:26.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:31 .github [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:31 .gitignore [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:31 .golangci.yml [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:31 Attribution.txt [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:31 CHANGELOG.md [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:31 Dockerfile [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:31 GOVERNANCE.md [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:31 Jenkinsfile [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:31 LICENSE [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:31 Makefile [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:31 OWNERS.md [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:31 README.md [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:28 VERSION [2023-01-10T23:35:26.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:31 bin [2023-01-10T23:35:26.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:31 cmd [2023-01-10T23:35:26.691Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:34 coverage.out [2023-01-10T23:35:26.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:31 driver [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:31 go.mod [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:31 go.sum [2023-01-10T23:35:26.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:31 snap [2023-01-10T23:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:35:27.132Z] + 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=8cdfce8159f304c35de74f4f467a78a85a036453 --label arch=arm64 --label version=0.0.0 . [2023-01-10T23:35:27.132Z] Sending build context to Docker daemon 138.8kB [2023-01-10T23:35:27.406Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:35:27.406Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T23:35:27.407Z] ---> d07d08b731cd [2023-01-10T23:35:27.407Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:35:27.407Z] ---> Running in 8bcff92cbfac [2023-01-10T23:35:28.001Z] Removing intermediate container 8bcff92cbfac [2023-01-10T23:35:28.001Z] ---> ae4ffaf324d8 [2023-01-10T23:35:28.001Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:35:28.001Z] ---> Running in 614bf4946e52 [2023-01-10T23:35:28.270Z] Removing intermediate container 614bf4946e52 [2023-01-10T23:35:28.270Z] ---> 6e2c9bcbc531 [2023-01-10T23:35:28.270Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:35:28.538Z] ---> Running in ccf57de059b5 [2023-01-10T23:35:28.809Z] Removing intermediate container ccf57de059b5 [2023-01-10T23:35:28.809Z] ---> 65bc75b5087e [2023-01-10T23:35:28.809Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:35:28.809Z] ---> Running in 3062bf2a194f [2023-01-10T23:35:29.204Z] Removing intermediate container 3062bf2a194f [2023-01-10T23:35:29.204Z] ---> 8da9695f3942 [2023-01-10T23:35:29.204Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:35:29.204Z] ---> Running in 8c0630c36d73 [2023-01-10T23:35:30.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:35:30.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:35:32.313Z] OK: 226 MiB in 55 packages [2023-01-10T23:35:33.282Z] Removing intermediate container 8c0630c36d73 [2023-01-10T23:35:33.282Z] ---> 61a70f7b49db [2023-01-10T23:35:33.282Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-10T23:35:33.554Z] ---> Running in d8a53344a498 [2023-01-10T23:35:33.823Z] Removing intermediate container d8a53344a498 [2023-01-10T23:35:33.823Z] ---> 0d0e9ae74ecf [2023-01-10T23:35:33.823Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T23:35:34.409Z] ---> 10f5b50624e5 [2023-01-10T23:35:34.409Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:35:34.679Z] ---> Running in e314e4909908 [2023-01-10T23:35:36.631Z] Removing intermediate container e314e4909908 [2023-01-10T23:35:36.631Z] ---> af1a623dcfe8 [2023-01-10T23:35:36.631Z] Step 11/25 : COPY . . [2023-01-10T23:35:37.598Z] ---> e7d937278db1 [2023-01-10T23:35:37.598Z] Step 12/25 : RUN $MAKE [2023-01-10T23:35:37.598Z] ---> Running in 329b17f69c9d [2023-01-10T23:35:39.020Z] 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-01-10T23:38:15.812Z] Removing intermediate container 329b17f69c9d [2023-01-10T23:38:15.812Z] ---> ed27fa53c7b6 [2023-01-10T23:38:15.812Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T23:38:15.812Z] 3.16: Pulling from library/alpine [2023-01-10T23:38:15.812Z] 6875df1f5354: Pulling fs layer [2023-01-10T23:38:15.812Z] 6875df1f5354: Download complete [2023-01-10T23:38:15.812Z] 6875df1f5354: Pull complete [2023-01-10T23:38:15.812Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T23:38:15.812Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T23:38:15.812Z] ---> 2b4661558fb8 [2023-01-10T23:38:15.812Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T23:38:15.812Z] ---> Running in 250fc0423c93 [2023-01-10T23:38:15.812Z] Removing intermediate container 250fc0423c93 [2023-01-10T23:38:15.812Z] ---> 714c9f71ab2d [2023-01-10T23:38:15.812Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-10T23:38:15.812Z] ---> Running in 89c463445217 [2023-01-10T23:38:15.812Z] Removing intermediate container 89c463445217 [2023-01-10T23:38:15.812Z] ---> d42d529ac6c3 [2023-01-10T23:38:15.812Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T23:38:15.812Z] ---> Running in 692ecaa2fcc0 [2023-01-10T23:38:16.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:38:16.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:38:18.084Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T23:38:18.084Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:38:18.084Z] OK: 5 MiB in 15 packages [2023-01-10T23:38:19.058Z] Removing intermediate container 692ecaa2fcc0 [2023-01-10T23:38:19.058Z] ---> c8de2e41d4b1 [2023-01-10T23:38:19.058Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-10T23:38:20.481Z] ---> e56f22cc9114 [2023-01-10T23:38:20.481Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-10T23:38:21.070Z] ---> dfdf1be2f8b3 [2023-01-10T23:38:21.070Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-10T23:38:21.663Z] ---> 1971d22ee380 [2023-01-10T23:38:21.663Z] Step 20/25 : EXPOSE 59986 [2023-01-10T23:38:24.258Z] ---> Running in f71462f60603 [2023-01-10T23:38:24.527Z] Removing intermediate container f71462f60603 [2023-01-10T23:38:24.527Z] ---> 8fb035b821ff [2023-01-10T23:38:24.527Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-10T23:38:24.527Z] ---> Running in 7f74e410b61b [2023-01-10T23:38:25.120Z] Removing intermediate container 7f74e410b61b [2023-01-10T23:38:25.120Z] ---> 98516880899c [2023-01-10T23:38:25.120Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T23:38:25.120Z] ---> Running in eae10b8d4055 [2023-01-10T23:38:25.708Z] Removing intermediate container eae10b8d4055 [2023-01-10T23:38:25.708Z] ---> eb9c2dc8b44b [2023-01-10T23:38:25.708Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T23:38:25.708Z] ---> Running in 77b03ae66475 [2023-01-10T23:38:26.297Z] Removing intermediate container 77b03ae66475 [2023-01-10T23:38:26.297Z] ---> 112eaab9fb5f [2023-01-10T23:38:26.297Z] Step 24/25 : LABEL git_sha=8cdfce8159f304c35de74f4f467a78a85a036453 [2023-01-10T23:38:26.297Z] ---> Running in b82d62995a35 [2023-01-10T23:38:26.570Z] Removing intermediate container b82d62995a35 [2023-01-10T23:38:26.570Z] ---> d26684f09805 [2023-01-10T23:38:26.570Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T23:38:26.570Z] ---> Running in 873cc46b8413 [2023-01-10T23:38:26.842Z] Removing intermediate container 873cc46b8413 [2023-01-10T23:38:26.842Z] ---> 4aaa6f22e98b [2023-01-10T23:38:26.842Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T23:38:26.842Z] Successfully built 4aaa6f22e98b [2023-01-10T23:38:27.110Z] 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-01-10T23:38:27.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:38:27.913Z] [2023-01-10T23:38:27.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:38:28.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:38:28.601Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T23:38:28.601Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T23:38:28.601Z] 04944245beec: Pulling fs layer [2023-01-10T23:38:28.601Z] 699f458cf7ca: Pulling fs layer [2023-01-10T23:38:28.601Z] 765212b225bb: Pulling fs layer [2023-01-10T23:38:28.601Z] f23df028b6ca: Pulling fs layer [2023-01-10T23:38:28.601Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T23:38:28.601Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T23:38:28.601Z] f23df028b6ca: Waiting [2023-01-10T23:38:28.601Z] d65c8cfc05b1: Waiting [2023-01-10T23:38:28.601Z] 765212b225bb: Waiting [2023-01-10T23:38:28.601Z] 2437ff75d9bd: Waiting [2023-01-10T23:38:28.601Z] 04944245beec: Verifying Checksum [2023-01-10T23:38:28.601Z] 04944245beec: Download complete [2023-01-10T23:38:28.601Z] 765212b225bb: Verifying Checksum [2023-01-10T23:38:28.601Z] 765212b225bb: Download complete [2023-01-10T23:38:28.871Z] f23df028b6ca: Download complete [2023-01-10T23:38:28.871Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T23:38:28.871Z] d65c8cfc05b1: Download complete [2023-01-10T23:38:28.871Z] 699f458cf7ca: Verifying Checksum [2023-01-10T23:38:28.871Z] 699f458cf7ca: Download complete [2023-01-10T23:38:29.141Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T23:38:29.141Z] 8998bd30e6a1: Download complete [2023-01-10T23:38:31.741Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T23:38:31.741Z] 2437ff75d9bd: Download complete [2023-01-10T23:38:33.155Z] 8998bd30e6a1: Pull complete [2023-01-10T23:38:33.744Z] 04944245beec: Pull complete [2023-01-10T23:38:35.163Z] 699f458cf7ca: Pull complete [2023-01-10T23:38:37.113Z] 765212b225bb: Pull complete [2023-01-10T23:38:38.075Z] f23df028b6ca: Pull complete [2023-01-10T23:38:38.348Z] d65c8cfc05b1: Pull complete [2023-01-10T23:38:53.364Z] 2437ff75d9bd: Pull complete [2023-01-10T23:38:53.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T23:38:53.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:38:53.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:38:53.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-1755 does not seem to be running inside a container [2023-01-10T23:38:53.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T23:38:56.890Z] $ docker top d353a781e7a338dd7fec68e01632f2dcb37b25cf75a3571eb0175f984bc6f45d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:38:57.842Z] ---> job-cost.sh [2023-01-10T23:38:57.842Z] lf-activate-venv: SKIPPING [2023-01-10T23:38:57.842Z] INFO: No Stack... [2023-01-10T23:38:58.112Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T23:38:59.075Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T23:38:59.741Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-10T23:38:59.741Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T23:38:59.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] [2023-01-10T23:38:59.845Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] did not exist. Created. [2023-01-10T23:38:59.845Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T23:39:00.592Z] /w/workspace/device-rest-go/1@tmp/durable-a39445fa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T23:39:01.271Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T23:39:01.308Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T23:39:01.358Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T23:39:01.373Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-235-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T23:39:01.451Z] $ docker stop --time=1 d353a781e7a338dd7fec68e01632f2dcb37b25cf75a3571eb0175f984bc6f45d [2023-01-10T23:39:02.946Z] $ docker rm -f --volumes d353a781e7a338dd7fec68e01632f2dcb37b25cf75a3571eb0175f984bc6f45d [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-01-10T23:39:03.893Z] provisioning config files... [2023-01-10T23:39:03.900Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp/config16563611194762857871tmp [Pipeline] { [Pipeline] sh [2023-01-10T23:39:04.231Z] + set +x [2023-01-10T23:39:04.231Z] + curl -s https://codecov.io/bash [2023-01-10T23:39:04.231Z] + bash -s -- [2023-01-10T23:39:04.231Z] [2023-01-10T23:39:04.231Z] _____ _ [2023-01-10T23:39:04.231Z] / ____| | | [2023-01-10T23:39:04.231Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T23:39:04.231Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T23:39:04.231Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T23:39:04.231Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T23:39:04.231Z] Bash-1.0.6 [2023-01-10T23:39:04.231Z] [2023-01-10T23:39:04.231Z] [2023-01-10T23:39:04.231Z] ==> git version 2.25.1 found [2023-01-10T23:39:04.231Z] ==> 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-01-10T23:39:04.231Z] Release-Date: 2020-01-08 [2023-01-10T23:39:04.231Z] 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-01-10T23:39:04.231Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T23:39:04.231Z] ==> Jenkins CI detected. [2023-01-10T23:39:04.231Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-235 [2023-01-10T23:39:04.231Z] project root: . [2023-01-10T23:39:04.231Z] --> token set from env [2023-01-10T23:39:04.231Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T23:39:04.231Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T23:39:04.231Z] ==> Python coveragepy not found [2023-01-10T23:39:04.231Z] ==> Searching for coverage reports in: [2023-01-10T23:39:04.231Z] + . [2023-01-10T23:39:04.231Z] -> Found 1 reports [2023-01-10T23:39:04.231Z] ==> Detecting git/mercurial file structure [2023-01-10T23:39:04.231Z] ==> Reading reports [2023-01-10T23:39:04.231Z] + ./coverage.out bytes=9355 [2023-01-10T23:39:04.231Z] ==> Appending adjustments [2023-01-10T23:39:04.231Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T23:39:04.489Z] + Found adjustments [2023-01-10T23:39:04.489Z] ==> Gzipping contents [2023-01-10T23:39:04.489Z] 4.0K /tmp/codecov.6KbA1J.gz [2023-01-10T23:39:04.489Z] ==> Uploading reports [2023-01-10T23:39:04.489Z] url: https://codecov.io [2023-01-10T23:39:04.489Z] query: branch=PR-235&commit=8cdfce8159f304c35de74f4f467a78a85a036453&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-235%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-01-10T23:39:04.489Z] -> Pinging Codecov [2023-01-10T23:39:04.489Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-235&commit=8cdfce8159f304c35de74f4f467a78a85a036453&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-235%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-01-10T23:39:04.748Z] -> Uploading to [2023-01-10T23:39:04.748Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/4E5D53B4F1F92C436F7061BF334D961C/8cdfce8159f304c35de74f4f467a78a85a036453/2fa45a56-c3ff-4dfa-a3d3-0ee437c17bb5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T233904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09e008ff1cc36abba6b7146fc1c1311438fdc28ff0138ef40c12deab43752ab4 [2023-01-10T23:39:04.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T23:39:04.748Z] Dload Upload Total Spent Left Speed [2023-01-10T23:39:05.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 6259 --:--:-- --:--:-- --:--:-- 6259 [2023-01-10T23:39:05.010Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8cdfce8159f304c35de74f4f467a78a85a036453 [Pipeline] } [2023-01-10T23:39:05.042Z] 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-01-10T23:39:06.752Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-235/archives ] [2023-01-10T23:39:06.752Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-235/archives [2023-01-10T23:39:06.752Z] total 16 [2023-01-10T23:39:06.752Z] drwxr-xr-x 3 root root 4096 Jan 10 23:29 . [2023-01-10T23:39:06.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:29 .. [2023-01-10T23:39:06.752Z] drwxr-xr-x 2 root root 4096 Jan 10 23:29 cost [2023-01-10T23:39:06.752Z] -rw-r--r-- 1 root root 86 Jan 10 23:29 cost.csv [2023-01-10T23:39:06.752Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-235/archives [2023-01-10T23:39:06.752Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-235/archives [2023-01-10T23:39:06.752Z] total 16 [2023-01-10T23:39:06.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:29 . [2023-01-10T23:39:06.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:29 .. [2023-01-10T23:39:06.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:29 cost [2023-01-10T23:39:06.752Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 23:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:07.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:07.948Z] ---> package-listing.sh [2023-01-10T23:39:07.948Z] ++ facter osfamily [2023-01-10T23:39:07.948Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T23:39:08.207Z] + OS_FAMILY=debian [2023-01-10T23:39:08.207Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-235 [2023-01-10T23:39:08.207Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T23:39:08.207Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T23:39:08.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T23:39:08.207Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T23:39:08.207Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-235 ']' [2023-01-10T23:39:08.207Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T23:39:08.207Z] + case "${OS_FAMILY}" in [2023-01-10T23:39:08.207Z] + dpkg -l [2023-01-10T23:39:08.207Z] + grep '^ii' [2023-01-10T23:39:08.207Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T23:39:08.207Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T23:39:08.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T23:39:08.207Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-235 ']' [2023-01-10T23:39:08.207Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-235/archives/ [2023-01-10T23:39:08.207Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-235/archives/ [Pipeline] echo [2023-01-10T23:39:08.243Z] 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-235/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T23:39:08.537Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:39:09.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:39:09.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:39:09.333Z] prd-ubuntu20.04-docker-8c-8g-1753 does not seem to be running inside a container [2023-01-10T23:39:09.363Z] $ 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-235/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-235 -v /w/workspace/gexfoundry_device-rest-go_PR-235:/w/workspace/gexfoundry_device-rest-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-235@tmp:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T23:39:09.553Z] $ docker top 8b56f28541b0e0834975ce8f8cd384a03e885405d8b6e57fe5563bb210c5cbf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:39:09.934Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T23:39:10.241Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T23:39:10.553Z] + ls /var/log/sa-host [2023-01-10T23:39:10.553Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:39:10.689Z] provisioning config files... [2023-01-10T23:39:10.697Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-235@tmp/config15718771354789354282tmp [Pipeline] { [Pipeline] echo [2023-01-10T23:39:10.745Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:11.057Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T23:39:11.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:11.495Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T23:39:11.528Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:11.837Z] ---> sudo-logs.sh [2023-01-10T23:39:11.837Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T23:39:11.918Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:12.228Z] ---> job-cost.sh [2023-01-10T23:39:12.228Z] lf-activate-venv: SKIPPING [2023-01-10T23:39:12.228Z] DEBUG: total: 0.2199999988079071 [2023-01-10T23:39:12.228Z] INFO: Retrieving Stack Cost... [2023-01-10T23:39:12.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T23:39:13.054Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T23:39:13.094Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:39:13.405Z] ---> logs-deploy.sh [2023-01-10T23:39:13.405Z] lf-activate-venv: SKIPPING [2023-01-10T23:39:13.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-235/1 [2023-01-10T23:39:13.405Z] INFO: archiving workspace using pattern(s): [2023-01-10T23:39:14.347Z] Archives upload complete. [2023-01-10T23:39:14.347Z] INFO: archiving logs to Nexus