Pull request #254 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 8da119deae904f0cdbc225e70e316a74b9f6d08b+361e34ad238f1f05923baf29fae00e57c159c00c (5cbfd4272ecaac78d62e90c6bf0beff6a0799f37) 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-ssh7861481767427168939.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-ssh6912765701023032972.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-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9533086663651249300.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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6254516009327140450.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-ssh1707865020107282025.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18161493147117595824.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-6167 in /w/workspace/gexfoundry_device-rest-go_PR-254 [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-254 # 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 Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit 8da119deae904f0cdbc225e70e316a74b9f6d08b Merge succeeded, producing 8da119deae904f0cdbc225e70e316a74b9f6d08b Checking out Revision 8da119deae904f0cdbc225e70e316a74b9f6d08b (PR-254) > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8da119deae904f0cdbc225e70e316a74b9f6d08b # 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 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8da119deae904f0cdbc225e70e316a74b9f6d08b # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:19:26.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:19:26.278Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:19:26.362Z] ========================================================= [2023-02-15T18:19:26.362Z] EdgeX Global Pipelines Version Info [2023-02-15T18:19:26.362Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:19:27.155Z] ------------------- [2023-02-15T18:19:27.155Z] stable info: [2023-02-15T18:19:27.155Z] ------------------- [2023-02-15T18:19:27.155Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:19:27.155Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:19:27.155Z] Message: update stable to v1.0.244 [2023-02-15T18:19:27.728Z] ------------------- [2023-02-15T18:19:27.728Z] experimental info: [2023-02-15T18:19:27.728Z] ------------------- [2023-02-15T18:19:27.728Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:19:27.728Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:19:27.728Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:19:28.050Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T18:19:28.088Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T18:19:28.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:19:28.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:19:28.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:19:28.235Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:19:28.272Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:19:28.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T18:19:28.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:19:28.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:19:28.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:19:28.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T18:19:28.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:19:28.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:19:28.578Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:19:28.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:19:28.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:19:28.695Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:19:28.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:19:28.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:19:28.819Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T18:19:28.862Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T18:19:28.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:19:28.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:19:28.987Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:19:29.032Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:19:29.076Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:19:29.117Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo [2023-02-15T18:19:29.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo [2023-02-15T18:19:29.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo [2023-02-15T18:19:29.235Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8da119deae904f0cdbc225e70e316a74b9f6d08b [Pipeline] echo [2023-02-15T18:19:29.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8da119d [Pipeline] echo [2023-02-15T18:19:29.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:19:29.430Z] provisioning config files... [2023-02-15T18:19:29.447Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-254@tmp/config11765513483990090772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:19:29.789Z] ---> docker-login.sh [2023-02-15T18:19:29.789Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:19:30.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:30.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:30.051Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:30.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:30.051Z] [2023-02-15T18:19:30.051Z] Login Succeeded [2023-02-15T18:19:30.051Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:19:30.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:30.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:30.051Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:30.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:30.051Z] [2023-02-15T18:19:30.051Z] Login Succeeded [2023-02-15T18:19:30.051Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:19:30.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:30.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:30.352Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:30.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:30.352Z] [2023-02-15T18:19:30.352Z] Login Succeeded [2023-02-15T18:19:30.352Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:19:30.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:30.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:30.352Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:30.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:30.352Z] [2023-02-15T18:19:30.352Z] Login Succeeded [2023-02-15T18:19:30.352Z] docker.io [2023-02-15T18:19:30.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:30.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:30.612Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:30.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:30.612Z] [2023-02-15T18:19:30.612Z] Login Succeeded [2023-02-15T18:19:30.612Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:19:30.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:19:31.260Z] + git rev-list -1 --merges 8da119deae904f0cdbc225e70e316a74b9f6d08b~1..8da119deae904f0cdbc225e70e316a74b9f6d08b [Pipeline] echo [2023-02-15T18:19:31.324Z] -----------> git rev-list -1 --merges 8da119deae904f0cdbc225e70e316a74b9f6d08b~1..8da119deae904f0cdbc225e70e316a74b9f6d08b 8da119deae904f0cdbc225e70e316a74b9f6d08b [false] [Pipeline] sh [2023-02-15T18:19:31.637Z] + git log --format=format:%s -1 8da119deae904f0cdbc225e70e316a74b9f6d08b [Pipeline] echo [2023-02-15T18:19:31.673Z] ========================================================= [2023-02-15T18:19:31.673Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:19:31.673Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:19:32.100Z] + git log --format=format:%s -1 8da119deae904f0cdbc225e70e316a74b9f6d08b [Pipeline] echo [2023-02-15T18:19:32.130Z] [semverPrep] GIT_COMMIT: 8da119deae904f0cdbc225e70e316a74b9f6d08b, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo [2023-02-15T18:19:32.157Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:19:32.535Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:19:32.535Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:19:32.535Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:19:32.535Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:19:32.535Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:19:32.535Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:19:32.535Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:19:32.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:19:32.973Z] [2023-02-15T18:19:32.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:19:33.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:19:33.357Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:19:33.357Z] b85a868b505f: Pulling fs layer [2023-02-15T18:19:33.357Z] e2be974225ed: Pulling fs layer [2023-02-15T18:19:33.357Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:19:33.357Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:19:33.357Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:19:33.357Z] eaf3925da568: Pulling fs layer [2023-02-15T18:19:33.357Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:19:33.357Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:19:33.357Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:19:33.357Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:19:33.357Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:19:33.357Z] bde34c3a00c8: Waiting [2023-02-15T18:19:33.357Z] b352a97aabf1: Waiting [2023-02-15T18:19:33.357Z] 4872d77fe225: Waiting [2023-02-15T18:19:33.357Z] 988bab9f4d93: Waiting [2023-02-15T18:19:33.357Z] 5851b861e8e6: Waiting [2023-02-15T18:19:33.357Z] 1469e6f7b9e6: Waiting [2023-02-15T18:19:33.357Z] bab4dde63d76: Waiting [2023-02-15T18:19:33.357Z] eaf3925da568: Waiting [2023-02-15T18:19:33.357Z] e2be974225ed: Verifying Checksum [2023-02-15T18:19:33.357Z] e2be974225ed: Download complete [2023-02-15T18:19:33.357Z] 988bab9f4d93: Verifying Checksum [2023-02-15T18:19:33.357Z] 988bab9f4d93: Download complete [2023-02-15T18:19:33.622Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:19:33.622Z] 339a4e72a1f5: Download complete [2023-02-15T18:19:33.622Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:19:33.622Z] 1469e6f7b9e6: Download complete [2023-02-15T18:19:33.622Z] eaf3925da568: Verifying Checksum [2023-02-15T18:19:33.622Z] eaf3925da568: Download complete [2023-02-15T18:19:33.622Z] bde34c3a00c8: Verifying Checksum [2023-02-15T18:19:33.622Z] bde34c3a00c8: Download complete [2023-02-15T18:19:33.622Z] b352a97aabf1: Download complete [2023-02-15T18:19:33.882Z] 4872d77fe225: Verifying Checksum [2023-02-15T18:19:33.882Z] 4872d77fe225: Download complete [2023-02-15T18:19:33.882Z] 5851b861e8e6: Verifying Checksum [2023-02-15T18:19:33.882Z] 5851b861e8e6: Download complete [2023-02-15T18:19:33.882Z] b85a868b505f: Verifying Checksum [2023-02-15T18:19:33.882Z] b85a868b505f: Download complete [2023-02-15T18:19:34.145Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:19:34.145Z] bab4dde63d76: Download complete [2023-02-15T18:19:35.524Z] b85a868b505f: Pull complete [2023-02-15T18:19:35.524Z] e2be974225ed: Pull complete [2023-02-15T18:19:35.784Z] 339a4e72a1f5: Pull complete [2023-02-15T18:19:36.043Z] 988bab9f4d93: Pull complete [2023-02-15T18:19:36.302Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:19:36.302Z] eaf3925da568: Pull complete [2023-02-15T18:19:38.206Z] bab4dde63d76: Pull complete [2023-02-15T18:19:38.206Z] bde34c3a00c8: Pull complete [2023-02-15T18:19:38.466Z] b352a97aabf1: Pull complete [2023-02-15T18:19:38.466Z] 4872d77fe225: Pull complete [2023-02-15T18:19:38.726Z] 5851b861e8e6: Pull complete [2023-02-15T18:19:38.726Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:19:38.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:19:38.726Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:19:38.933Z] prd-ubuntu20.04-docker-8c-8g-6167 does not seem to be running inside a container [2023-02-15T18:19:38.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-254 -v /w/workspace/gexfoundry_device-rest-go_PR-254:/w/workspace/gexfoundry_device-rest-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-254@tmp:/w/workspace/gexfoundry_device-rest-go_PR-254@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-02-15T18:19:43.753Z] $ docker top 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb -eo pid,comm [2023-02-15T18:19:43.813Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T18:19:43.813Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:19:43.940Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:19:43.940Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:19:44.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:19:44.061Z] $ docker exec 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb ssh-agent [2023-02-15T18:19:44.184Z] SSH_AUTH_SOCK=/tmp/ssh-XK5SYRMMkApa/agent.32 [2023-02-15T18:19:44.184Z] SSH_AGENT_PID=38 [2023-02-15T18:19:44.192Z] Running ssh-add (command line suppressed) [2023-02-15T18:19:44.314Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-254@tmp/private_key_4998272222122937966.key (/w/workspace/gexfoundry_device-rest-go_PR-254@tmp/private_key_4998272222122937966.key) [2023-02-15T18:19:44.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:19:44.658Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:19:44.682Z] $ docker exec --env ******** --env ******** 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb ssh-agent -k [2023-02-15T18:19:44.793Z] unset SSH_AUTH_SOCK; [2023-02-15T18:19:44.793Z] unset SSH_AGENT_PID; [2023-02-15T18:19:44.793Z] echo Agent pid 38 killed; [2023-02-15T18:19:44.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:19:44.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:19:44.880Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:19:44.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:19:44.996Z] $ docker exec 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb ssh-agent [2023-02-15T18:19:45.130Z] SSH_AUTH_SOCK=/tmp/ssh-lcZztDmuOhNu/agent.70 [2023-02-15T18:19:45.130Z] SSH_AGENT_PID=76 [2023-02-15T18:19:45.136Z] Running ssh-add (command line suppressed) [2023-02-15T18:19:45.243Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-254@tmp/private_key_8619712305504647967.key (/w/workspace/gexfoundry_device-rest-go_PR-254@tmp/private_key_8619712305504647967.key) [2023-02-15T18:19:45.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:19:45.589Z] + git semver init [2023-02-15T18:19:45.849Z] 2023-02-15 18:19:45,813 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:19:45.849Z] 2023-02-15 18:19:45,814 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-254/.semver [2023-02-15T18:19:45.849Z] 2023-02-15 18:19:45,815 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-254/.semver [2023-02-15T18:19:45.849Z] 2023-02-15 18:19:45,815 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-254/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-254, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,335 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-254/.git/info/exclude [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-254/.semver/PR-254 with force:False [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,335 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-254/.semver/PR-254 [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,338 [execute] INFO git cat-file --batch-check [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,343 [execute] INFO git cat-file --batch [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:19:47.822Z] 2023-02-15 18:19:47,350 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-254/.semver/PR-254 [2023-02-15T18:19:47.822Z] 0.0.0 [Pipeline] } [2023-02-15T18:19:47.849Z] $ docker exec --env ******** --env ******** 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb ssh-agent -k [2023-02-15T18:19:47.947Z] unset SSH_AUTH_SOCK; [2023-02-15T18:19:47.948Z] unset SSH_AGENT_PID; [2023-02-15T18:19:47.948Z] echo Agent pid 76 killed; [2023-02-15T18:19:47.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:19:48.376Z] + git semver [Pipeline] } [2023-02-15T18:19:48.656Z] $ docker stop --time=1 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb [2023-02-15T18:19:50.010Z] $ docker rm -f --volumes 0dcd5504d24008df051e59beba75050b30d311f3510a076ce370ab18cf0672fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:19:50.429Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:19:50.841Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:19:50.858Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:19:51.418Z] provisioning config files... [2023-02-15T18:19:51.428Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-254@tmp/config6152153485893534087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:19:51.776Z] ---> docker-login.sh [2023-02-15T18:19:51.776Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:19:51.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:51.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:51.776Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:51.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:51.776Z] [2023-02-15T18:19:51.776Z] Login Succeeded [2023-02-15T18:19:51.776Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:19:51.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:52.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:52.036Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:52.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:52.036Z] [2023-02-15T18:19:52.036Z] Login Succeeded [2023-02-15T18:19:52.036Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:19:52.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:52.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:52.036Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:52.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:52.036Z] [2023-02-15T18:19:52.036Z] Login Succeeded [2023-02-15T18:19:52.036Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:19:52.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:52.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:52.296Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:52.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:52.296Z] [2023-02-15T18:19:52.296Z] Login Succeeded [2023-02-15T18:19:52.296Z] docker.io [2023-02-15T18:19:52.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:52.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:52.557Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:52.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:52.557Z] [2023-02-15T18:19:52.557Z] Login Succeeded [2023-02-15T18:19:52.557Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:19:52.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:19:52.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:19:52.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:19:52.867Z] ========================================================= [2023-02-15T18:19:52.867Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:19:52.867Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:19:53.306Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:19:53.307Z] Sending build context to Docker daemon 10.83MB [2023-02-15T18:19:53.307Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:19:53.307Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:19:53.307Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:19:53.307Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:19:53.307Z] 4583459ba037: Pulling fs layer [2023-02-15T18:19:53.307Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:19:53.307Z] 53926ce57604: Pulling fs layer [2023-02-15T18:19:53.307Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:19:53.307Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:19:53.307Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:19:53.307Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:19:53.307Z] a7acece74701: Pulling fs layer [2023-02-15T18:19:53.307Z] 53926ce57604: Waiting [2023-02-15T18:19:53.307Z] 21b2b0c7a3f4: Waiting [2023-02-15T18:19:53.307Z] 12d6caf4c0d1: Waiting [2023-02-15T18:19:53.307Z] 96b7cbca73a9: Waiting [2023-02-15T18:19:53.307Z] 22ff95d597cd: Waiting [2023-02-15T18:19:53.307Z] a7acece74701: Waiting [2023-02-15T18:19:53.307Z] 93c1e223e6f2: Download complete [2023-02-15T18:19:53.307Z] 4583459ba037: Download complete [2023-02-15T18:19:53.567Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:19:53.567Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:19:53.567Z] 22ff95d597cd: Download complete [2023-02-15T18:19:53.567Z] 213ec9aee27d: Download complete [2023-02-15T18:19:53.567Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T18:19:53.567Z] 12d6caf4c0d1: Download complete [2023-02-15T18:19:53.836Z] 213ec9aee27d: Pull complete [2023-02-15T18:19:53.836Z] 4583459ba037: Pull complete [2023-02-15T18:19:53.836Z] 93c1e223e6f2: Pull complete [2023-02-15T18:19:54.800Z] a7acece74701: Verifying Checksum [2023-02-15T18:19:54.800Z] a7acece74701: Download complete [2023-02-15T18:19:54.800Z] 53926ce57604: Verifying Checksum [2023-02-15T18:19:54.800Z] 53926ce57604: Download complete [2023-02-15T18:19:55.059Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T18:19:55.059Z] 96b7cbca73a9: Download complete [2023-02-15T18:19:59.275Z] 53926ce57604: Pull complete [2023-02-15T18:19:59.275Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:19:59.275Z] 22ff95d597cd: Pull complete [2023-02-15T18:19:59.275Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:20:02.560Z] 96b7cbca73a9: Pull complete [2023-02-15T18:20:05.094Z] a7acece74701: Pull complete [2023-02-15T18:20:05.354Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:20:05.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:20:05.354Z] ---> db6d94c90886 [2023-02-15T18:20:05.354Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:20:06.235Z] Still waiting to schedule task [2023-02-15T18:20:06.235Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T18:20:23.520Z] ---> Running in 513e375e7f30 [2023-02-15T18:20:23.520Z] Removing intermediate container 513e375e7f30 [2023-02-15T18:20:23.520Z] ---> f13ecafc6d0c [2023-02-15T18:20:23.520Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:20:24.107Z] ---> Running in 74091101a5e7 [2023-02-15T18:20:24.678Z] Removing intermediate container 74091101a5e7 [2023-02-15T18:20:24.678Z] ---> 495c2acabcb1 [2023-02-15T18:20:24.678Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:20:25.263Z] ---> Running in 74698ec636bd [2023-02-15T18:20:26.199Z] Removing intermediate container 74698ec636bd [2023-02-15T18:20:26.200Z] ---> a70ddf86cfc4 [2023-02-15T18:20:26.200Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:20:26.458Z] ---> Running in e8f4b912e00b [2023-02-15T18:20:27.031Z] Removing intermediate container e8f4b912e00b [2023-02-15T18:20:27.031Z] ---> 3e6f3d1d69cb [2023-02-15T18:20:27.031Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:20:27.304Z] ---> Running in 79ebbfe40f97 [2023-02-15T18:20:27.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:20:28.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:20:28.389Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:20:28.389Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:20:28.389Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:20:28.389Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:20:28.389Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:20:28.389Z] OK: 216 MiB in 55 packages [2023-02-15T18:20:30.309Z] Removing intermediate container 79ebbfe40f97 [2023-02-15T18:20:30.309Z] ---> 71e825999c54 [2023-02-15T18:20:30.309Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T18:20:30.577Z] ---> Running in 2703d76668e7 [2023-02-15T18:20:31.534Z] Removing intermediate container 2703d76668e7 [2023-02-15T18:20:31.534Z] ---> 0f2ecf4e2b53 [2023-02-15T18:20:31.534Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T18:20:32.471Z] ---> e473fadcdd01 [2023-02-15T18:20:32.471Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:20:32.471Z] ---> Running in 33455e3656cd [2023-02-15T18:21:40.616Z] Removing intermediate container 33455e3656cd [2023-02-15T18:21:40.616Z] ---> cc6f3bf38456 [2023-02-15T18:21:40.616Z] Step 11/12 : COPY . . [2023-02-15T18:21:40.616Z] ---> b1827f7cae5b [2023-02-15T18:21:40.616Z] Step 12/12 : RUN $MAKE [2023-02-15T18:21:40.616Z] ---> Running in 2e75391e113f [2023-02-15T18:21:40.616Z] noop [2023-02-15T18:21:40.616Z] Removing intermediate container 2e75391e113f [2023-02-15T18:21:40.616Z] ---> 0707bf7e825e [2023-02-15T18:21:40.616Z] Successfully built 0707bf7e825e [2023-02-15T18:21:40.616Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:21:41.079Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:21:41.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:21:41.222Z] prd-ubuntu20.04-docker-8c-8g-6167 does not seem to be running inside a container [2023-02-15T18:21:41.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-254 -v /w/workspace/gexfoundry_device-rest-go_PR-254:/w/workspace/gexfoundry_device-rest-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-254@tmp:/w/workspace/gexfoundry_device-rest-go_PR-254@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-02-15T18:21:41.619Z] $ docker top 464ba4fc03a3fc873ba5d23185846ce34a4922216f41774f6441779e6d4f0f8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:21:42.014Z] + go version [2023-02-15T18:21:42.014Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:21:42.051Z] $ docker stop --time=1 464ba4fc03a3fc873ba5d23185846ce34a4922216f41774f6441779e6d4f0f8d [2023-02-15T18:21:43.397Z] $ docker rm -f --volumes 464ba4fc03a3fc873ba5d23185846ce34a4922216f41774f6441779e6d4f0f8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:21:44.100Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:21:44.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:21:44.248Z] prd-ubuntu20.04-docker-8c-8g-6167 does not seem to be running inside a container [2023-02-15T18:21:44.276Z] $ 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-254 -v /w/workspace/gexfoundry_device-rest-go_PR-254:/w/workspace/gexfoundry_device-rest-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-254@tmp:/w/workspace/gexfoundry_device-rest-go_PR-254@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-02-15T18:21:44.624Z] $ docker top 3ff6680030f23ff3f3167ea319f2f8dbd8af53d61b3f1f7d9ae019dffcce3dcf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:21:45.024Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-254 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:21:45.381Z] + make test [2023-02-15T18:21:45.381Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:21:45.639Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T18:21:53.768Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T18:21:54.336Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.9% of statements [2023-02-15T18:22:02.447Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T18:22:02.447Z] go vet ./... [2023-02-15T18:22:04.975Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:22:04.975Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:22:04.975Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:22:05.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:22:05.039Z] $ docker stop --time=1 3ff6680030f23ff3f3167ea319f2f8dbd8af53d61b3f1f7d9ae019dffcce3dcf [2023-02-15T18:22:09.073Z] $ docker rm -f --volumes 3ff6680030f23ff3f3167ea319f2f8dbd8af53d61b3f1f7d9ae019dffcce3dcf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:22:09.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:22:09.634Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T18:22:10.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:22:10.566Z] + ls -al . [2023-02-15T18:22:10.566Z] total 188 [2023-02-15T18:22:10.566Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:21 . [2023-02-15T18:22:10.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:19 .. [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 18:19 .dockerignore [2023-02-15T18:22:10.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:21 .git [2023-02-15T18:22:10.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:19 .github [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 18:19 .gitignore [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:19 .golangci.yml [2023-02-15T18:22:10.566Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:19 .semver [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 15 18:19 Attribution.txt [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 18:19 CHANGELOG.md [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 18:19 Dockerfile [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:19 GOVERNANCE.md [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 18:19 Jenkinsfile [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:19 LICENSE [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 18:19 Makefile [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 18:19 OWNERS.md [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 18:19 README.md [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:19 VERSION [2023-02-15T18:22:10.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:19 bin [2023-02-15T18:22:10.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:19 cmd [2023-02-15T18:22:10.566Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 18:21 coverage.out [2023-02-15T18:22:10.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:19 driver [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 18:19 go.mod [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 18:19 go.sum [2023-02-15T18:22:10.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:19 snap [2023-02-15T18:22:10.566Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 18:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:22:10.959Z] + 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=8da119deae904f0cdbc225e70e316a74b9f6d08b --label arch=amd64 --label version=0.0.0 . [2023-02-15T18:22:10.959Z] Sending build context to Docker daemon 10.85MB [2023-02-15T18:22:10.959Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:22:10.959Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:22:10.959Z] ---> 0707bf7e825e [2023-02-15T18:22:10.959Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:22:11.220Z] ---> Running in 2a05b566d61b [2023-02-15T18:22:11.220Z] Removing intermediate container 2a05b566d61b [2023-02-15T18:22:11.220Z] ---> 7f974a16c772 [2023-02-15T18:22:11.220Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:22:11.220Z] ---> Running in b5138d92aaca [2023-02-15T18:22:11.479Z] Removing intermediate container b5138d92aaca [2023-02-15T18:22:11.479Z] ---> ab474687b309 [2023-02-15T18:22:11.479Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:22:11.479Z] ---> Running in 7c705d096350 [2023-02-15T18:22:11.479Z] Removing intermediate container 7c705d096350 [2023-02-15T18:22:11.479Z] ---> 4c20f5943de2 [2023-02-15T18:22:11.479Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:22:11.479Z] ---> Running in fb5163ac7a40 [2023-02-15T18:22:11.479Z] Removing intermediate container fb5163ac7a40 [2023-02-15T18:22:11.479Z] ---> 53f810e0baac [2023-02-15T18:22:11.479Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:22:11.479Z] ---> Running in 20961d92912a [2023-02-15T18:22:11.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:22:11.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:22:12.862Z] OK: 216 MiB in 55 packages [2023-02-15T18:22:13.121Z] Removing intermediate container 20961d92912a [2023-02-15T18:22:13.121Z] ---> 85fb75b85dc4 [2023-02-15T18:22:13.121Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T18:22:13.121Z] ---> Running in 8dcbf16e85ff [2023-02-15T18:22:13.121Z] Removing intermediate container 8dcbf16e85ff [2023-02-15T18:22:13.121Z] ---> c3fcc77d1db2 [2023-02-15T18:22:13.121Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T18:22:13.380Z] ---> 1660a0bffed4 [2023-02-15T18:22:13.380Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:22:13.380Z] ---> Running in 177df97853a0 [2023-02-15T18:22:14.317Z] Removing intermediate container 177df97853a0 [2023-02-15T18:22:14.317Z] ---> e4e56f6567dc [2023-02-15T18:22:14.317Z] Step 11/25 : COPY . . [2023-02-15T18:22:14.901Z] ---> 8d165572dfe9 [2023-02-15T18:22:14.901Z] Step 12/25 : RUN $MAKE [2023-02-15T18:22:14.901Z] ---> Running in 22a61c69a62d [2023-02-15T18:22:15.158Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T18:22:41.891Z] Removing intermediate container 22a61c69a62d [2023-02-15T18:22:41.891Z] ---> a147a5faec49 [2023-02-15T18:22:41.891Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:22:41.891Z] 3.16: Pulling from library/alpine [2023-02-15T18:22:41.891Z] ef5531b6e74e: Pulling fs layer [2023-02-15T18:22:41.891Z] ef5531b6e74e: Verifying Checksum [2023-02-15T18:22:41.891Z] ef5531b6e74e: Download complete [2023-02-15T18:22:41.891Z] ef5531b6e74e: Pull complete [2023-02-15T18:22:41.891Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:22:41.891Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:22:41.891Z] ---> dfd21b5a31f5 [2023-02-15T18:22:41.891Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T18:22:41.891Z] ---> Running in 6f5c338ec817 [2023-02-15T18:22:41.891Z] Removing intermediate container 6f5c338ec817 [2023-02-15T18:22:41.891Z] ---> 3f33beffebda [2023-02-15T18:22:41.891Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T18:22:41.891Z] ---> Running in b7f3796f96ab [2023-02-15T18:22:41.891Z] Removing intermediate container b7f3796f96ab [2023-02-15T18:22:41.891Z] ---> 546d8a104b0e [2023-02-15T18:22:41.891Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:22:41.891Z] ---> Running in 930af0b1185c [2023-02-15T18:22:41.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:22:41.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:22:41.891Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:22:41.891Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:22:41.891Z] OK: 6 MiB in 15 packages [2023-02-15T18:22:42.151Z] Removing intermediate container 930af0b1185c [2023-02-15T18:22:42.151Z] ---> cf67b9afc6f7 [2023-02-15T18:22:42.151Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T18:22:43.101Z] ---> a0dc748f3976 [2023-02-15T18:22:43.101Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T18:22:43.669Z] ---> 21901cb456d6 [2023-02-15T18:22:43.669Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T18:22:43.928Z] ---> 196a273af270 [2023-02-15T18:22:43.928Z] Step 20/25 : EXPOSE 59986 [2023-02-15T18:22:43.928Z] ---> Running in 648552c82af6 [2023-02-15T18:22:43.928Z] Removing intermediate container 648552c82af6 [2023-02-15T18:22:43.928Z] ---> 79ea4f5a947d [2023-02-15T18:22:43.928Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T18:22:43.928Z] ---> Running in 06b16b951a57 [2023-02-15T18:22:44.185Z] Removing intermediate container 06b16b951a57 [2023-02-15T18:22:44.185Z] ---> 5f5135c4c644 [2023-02-15T18:22:44.185Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T18:22:44.185Z] ---> Running in 75524d55d79d [2023-02-15T18:22:44.185Z] Removing intermediate container 75524d55d79d [2023-02-15T18:22:44.185Z] ---> 231dae867959 [2023-02-15T18:22:44.185Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T18:22:44.185Z] ---> Running in 22cf55f22a79 [2023-02-15T18:22:44.445Z] Removing intermediate container 22cf55f22a79 [2023-02-15T18:22:44.445Z] ---> e624cb2c3aa5 [2023-02-15T18:22:44.445Z] Step 24/25 : LABEL git_sha=8da119deae904f0cdbc225e70e316a74b9f6d08b [2023-02-15T18:22:44.445Z] ---> Running in a41b9af81929 [2023-02-15T18:22:44.445Z] Removing intermediate container a41b9af81929 [2023-02-15T18:22:44.445Z] ---> 4665ff325dc5 [2023-02-15T18:22:44.445Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T18:22:44.445Z] ---> Running in 159c26d844dc [2023-02-15T18:22:44.445Z] Removing intermediate container 159c26d844dc [2023-02-15T18:22:44.445Z] ---> 2a10f8487979 [2023-02-15T18:22:44.445Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:22:44.446Z] Successfully built 2a10f8487979 [2023-02-15T18:22:44.446Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:22:45.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:22:45.315Z] [2023-02-15T18:22:45.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:22:45.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:22:45.703Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:22:45.703Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:22:45.703Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:22:45.703Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:22:45.703Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:22:45.703Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:22:45.703Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:22:45.703Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:22:45.703Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:22:45.703Z] 33b1e0a273af: Waiting [2023-02-15T18:22:45.703Z] 2f39f015ded8: Waiting [2023-02-15T18:22:45.703Z] 5d3b04190fa2: Waiting [2023-02-15T18:22:45.703Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T18:22:45.703Z] 5c69ac0246d0: Download complete [2023-02-15T18:22:45.703Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T18:22:45.703Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:22:45.970Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:22:45.970Z] 33b1e0a273af: Download complete [2023-02-15T18:22:45.970Z] 5d3b04190fa2: Download complete [2023-02-15T18:22:45.970Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:22:45.970Z] ec43610c2a17: Download complete [2023-02-15T18:22:46.233Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:22:46.233Z] 5eb5b503b376: Download complete [2023-02-15T18:22:46.803Z] 2f39f015ded8: Download complete [2023-02-15T18:22:47.740Z] 5eb5b503b376: Pull complete [2023-02-15T18:22:47.740Z] 5c69ac0246d0: Pull complete [2023-02-15T18:22:48.329Z] ec43610c2a17: Pull complete [2023-02-15T18:22:48.329Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:22:48.588Z] 33b1e0a273af: Pull complete [2023-02-15T18:22:48.588Z] 5d3b04190fa2: Pull complete [2023-02-15T18:22:52.771Z] 2f39f015ded8: Pull complete [2023-02-15T18:22:52.771Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:22:52.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:22:52.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:22:52.996Z] prd-ubuntu20.04-docker-8c-8g-6167 does not seem to be running inside a container [2023-02-15T18:22:53.028Z] $ 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-254 -v /w/workspace/gexfoundry_device-rest-go_PR-254:/w/workspace/gexfoundry_device-rest-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-254@tmp:/w/workspace/gexfoundry_device-rest-go_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:23:01.798Z] $ docker top 25e5ce76a0e80d3ce162e0809b4c294672b727f3a2c0a64527b62cf42e917abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:23:02.242Z] ---> job-cost.sh [2023-02-15T18:23:02.242Z] lf-activate-venv: SKIPPING [2023-02-15T18:23:02.242Z] INFO: No Stack... [2023-02-15T18:23:02.501Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:23:03.070Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:23:03.388Z] + + cat /w/workspace/gexfoundry_device-rest-go_PR-254/archives/cost.csv [2023-02-15T18:23:03.388Z] cut -d, -f6 [Pipeline] lock [2023-02-15T18:23:03.424Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] [2023-02-15T18:23:03.428Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] did not exist. Created. [2023-02-15T18:23:03.428Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:23:03.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:23:03.849Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:23:03.873Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:23:03.950Z] $ docker stop --time=1 25e5ce76a0e80d3ce162e0809b4c294672b727f3a2c0a64527b62cf42e917abe [2023-02-15T18:23:05.104Z] $ docker rm -f --volumes 25e5ce76a0e80d3ce162e0809b4c294672b727f3a2c0a64527b62cf42e917abe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:23:33.602Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6171 in /w/workspace/gexfoundry_device-rest-go_PR-254 [Pipeline] { [Pipeline] ws [2023-02-15T18:23:33.661Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T18:23:33.729Z] The recommended git tool is: git [2023-02-15T18:23:39.452Z] using credential edgex-jenkins-ssh [2023-02-15T18:23:39.475Z] Cloning the remote Git repository [2023-02-15T18:23:39.524Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:23:39.604Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-15T18:23:39.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:23:39.772Z] > git --version # timeout=10 [2023-02-15T18:23:39.806Z] > git --version # 'git version 2.25.1' [2023-02-15T18:23:39.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:23:39.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:23:41.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T18:23:41.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:23:43.557Z] Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit 8da119deae904f0cdbc225e70e316a74b9f6d08b [2023-02-15T18:23:43.806Z] Merge succeeded, producing 8da119deae904f0cdbc225e70e316a74b9f6d08b [2023-02-15T18:23:43.806Z] Checking out Revision 8da119deae904f0cdbc225e70e316a74b9f6d08b (PR-254) [2023-02-15T18:23:42.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T18:23:42.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:23:42.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:23:42.888Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T18:23:43.578Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:23:43.598Z] > git checkout -f 8da119deae904f0cdbc225e70e316a74b9f6d08b # timeout=10 [2023-02-15T18:23:43.695Z] > git remote # timeout=10 [2023-02-15T18:23:43.718Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T18:23:43.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:23:43.759Z] > git merge 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 [2023-02-15T18:23:43.785Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T18:23:43.812Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:23:43.827Z] > git checkout -f 8da119deae904f0cdbc225e70e316a74b9f6d08b # timeout=10 [2023-02-15T18:23:47.346Z] Commit message: "refactor!: Replace internal topics from config with new constants" [2023-02-15T18:23:47.401Z] > git --version # timeout=10 [2023-02-15T18:23:47.416Z] > git --version # 'git version 2.25.1' [2023-02-15T18:23:47.429Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:23:48.536Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:23:48.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:23:48.536Z] Dload Upload Total Spent Left Speed [2023-02-15T18:23:48.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-02-15T18:23:49.325Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:23:49.679Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:23:49.680Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:23:49.680Z] { [2023-02-15T18:23:49.680Z] "registry-mirrors": [ [2023-02-15T18:23:49.680Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:23:49.680Z] ], [2023-02-15T18:23:49.680Z] "bip": "10.250.0.254/24", [2023-02-15T18:23:49.680Z] "hosts": [ [2023-02-15T18:23:49.680Z] "tcp://0.0.0.0:5555", [2023-02-15T18:23:49.680Z] "unix:///var/run/docker.sock" [2023-02-15T18:23:49.680Z] ], [2023-02-15T18:23:49.680Z] "mtu": 1458, [2023-02-15T18:23:49.680Z] "selinux-enabled": true, [2023-02-15T18:23:49.680Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:23:49.680Z] } [Pipeline] sh [2023-02-15T18:23:50.041Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:23:50.399Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:24:08.771Z] provisioning config files... [2023-02-15T18:24:08.800Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13591284137735323764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:24:09.187Z] ---> docker-login.sh [2023-02-15T18:24:09.187Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:24:09.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:24:09.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:24:09.776Z] Configure a credential helper to remove this warning. See [2023-02-15T18:24:09.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:24:09.776Z] [2023-02-15T18:24:09.776Z] Login Succeeded [2023-02-15T18:24:09.776Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:24:10.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:24:10.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:24:10.313Z] Configure a credential helper to remove this warning. See [2023-02-15T18:24:10.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:24:10.313Z] [2023-02-15T18:24:10.313Z] Login Succeeded [2023-02-15T18:24:10.313Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:24:10.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:24:10.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:24:10.582Z] Configure a credential helper to remove this warning. See [2023-02-15T18:24:10.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:24:10.582Z] [2023-02-15T18:24:10.582Z] Login Succeeded [2023-02-15T18:24:10.582Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:24:10.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:24:10.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:24:10.854Z] Configure a credential helper to remove this warning. See [2023-02-15T18:24:10.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:24:10.854Z] [2023-02-15T18:24:10.854Z] Login Succeeded [2023-02-15T18:24:10.854Z] docker.io [2023-02-15T18:24:11.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:24:11.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:24:11.396Z] Configure a credential helper to remove this warning. See [2023-02-15T18:24:11.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:24:11.396Z] [2023-02-15T18:24:11.396Z] Login Succeeded [2023-02-15T18:24:11.396Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:24:11.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:24:11.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:24:11.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:24:11.910Z] ========================================================= [2023-02-15T18:24:11.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:24:11.910Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:24:12.404Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:24:12.404Z] Sending build context to Docker daemon 139.8kB [2023-02-15T18:24:12.679Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:24:12.679Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:24:12.953Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:24:12.953Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:24:12.953Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:24:12.953Z] e16973657156: Pulling fs layer [2023-02-15T18:24:12.953Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:24:12.953Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:24:12.953Z] dda99020689f: Pulling fs layer [2023-02-15T18:24:12.953Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:24:12.953Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:24:12.953Z] fc693d55d65f: Waiting [2023-02-15T18:24:12.953Z] 7e9fc2657dce: Waiting [2023-02-15T18:24:12.953Z] dda99020689f: Waiting [2023-02-15T18:24:12.953Z] db1c61fa0a46: Waiting [2023-02-15T18:24:12.953Z] 891c053d2c06: Waiting [2023-02-15T18:24:12.953Z] e16973657156: Verifying Checksum [2023-02-15T18:24:12.953Z] e16973657156: Download complete [2023-02-15T18:24:12.953Z] 35d82f9e3411: Download complete [2023-02-15T18:24:12.953Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T18:24:12.953Z] 7e9fc2657dce: Download complete [2023-02-15T18:24:12.953Z] dda99020689f: Verifying Checksum [2023-02-15T18:24:12.953Z] dda99020689f: Download complete [2023-02-15T18:24:12.953Z] 9b18e9b68314: Verifying Checksum [2023-02-15T18:24:12.953Z] 9b18e9b68314: Download complete [2023-02-15T18:24:13.937Z] 9b18e9b68314: Pull complete [2023-02-15T18:24:14.218Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:24:14.218Z] 891c053d2c06: Download complete [2023-02-15T18:24:15.656Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:24:15.656Z] db1c61fa0a46: Download complete [2023-02-15T18:24:16.252Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:24:16.252Z] fc693d55d65f: Download complete [2023-02-15T18:24:16.525Z] 35d82f9e3411: Pull complete [2023-02-15T18:24:16.798Z] e16973657156: Pull complete [2023-02-15T18:24:31.849Z] fc693d55d65f: Pull complete [2023-02-15T18:24:31.849Z] 7e9fc2657dce: Pull complete [2023-02-15T18:24:31.849Z] dda99020689f: Pull complete [2023-02-15T18:24:37.226Z] db1c61fa0a46: Pull complete [2023-02-15T18:24:38.644Z] 891c053d2c06: Pull complete [2023-02-15T18:24:38.644Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:24:38.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:24:38.644Z] ---> f96f9c87975a [2023-02-15T18:24:38.644Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:24:40.609Z] ---> Running in 15ed808b9c89 [2023-02-15T18:24:40.609Z] Removing intermediate container 15ed808b9c89 [2023-02-15T18:24:40.609Z] ---> 54b3850b307b [2023-02-15T18:24:40.609Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:24:40.882Z] ---> Running in 7e8f0cde103d [2023-02-15T18:24:41.152Z] Removing intermediate container 7e8f0cde103d [2023-02-15T18:24:41.152Z] ---> 272314753b4c [2023-02-15T18:24:41.152Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:24:41.152Z] ---> Running in 6a043352836c [2023-02-15T18:24:41.742Z] Removing intermediate container 6a043352836c [2023-02-15T18:24:41.742Z] ---> 8d6b2b77b7c2 [2023-02-15T18:24:41.742Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:24:41.742Z] ---> Running in 7bf6e038cd48 [2023-02-15T18:24:42.013Z] Removing intermediate container 7bf6e038cd48 [2023-02-15T18:24:42.013Z] ---> a6a5fd058498 [2023-02-15T18:24:42.013Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:24:42.013Z] ---> Running in 3a601357135a [2023-02-15T18:24:43.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:24:43.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:24:44.389Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:24:44.389Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:24:44.389Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:24:44.389Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:24:44.658Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:24:44.658Z] OK: 226 MiB in 55 packages [2023-02-15T18:24:45.623Z] Removing intermediate container 3a601357135a [2023-02-15T18:24:45.623Z] ---> 022ae37c3422 [2023-02-15T18:24:45.623Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T18:24:45.623Z] ---> Running in 6f0116aac6ef [2023-02-15T18:24:45.892Z] Removing intermediate container 6f0116aac6ef [2023-02-15T18:24:45.892Z] ---> 9628da8cae96 [2023-02-15T18:24:45.892Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T18:24:46.477Z] ---> 3c82ae16bd06 [2023-02-15T18:24:46.477Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:24:46.477Z] ---> Running in 33eaa1b8ca29 [2023-02-15T18:26:08.145Z] Removing intermediate container 33eaa1b8ca29 [2023-02-15T18:26:08.145Z] ---> 1dc5dbfe4ae1 [2023-02-15T18:26:08.145Z] Step 11/12 : COPY . . [2023-02-15T18:26:08.145Z] ---> 941bb7bd1959 [2023-02-15T18:26:08.145Z] Step 12/12 : RUN $MAKE [2023-02-15T18:26:08.145Z] ---> Running in 4fd29cf0d1b6 [2023-02-15T18:26:08.145Z] noop [2023-02-15T18:26:08.145Z] Removing intermediate container 4fd29cf0d1b6 [2023-02-15T18:26:08.145Z] ---> 514f291324c5 [2023-02-15T18:26:08.145Z] Successfully built 514f291324c5 [2023-02-15T18:26:08.145Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:26:08.629Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:26:08.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:26:08.896Z] prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container [2023-02-15T18:26:08.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:26:10.238Z] $ docker top 0ac570dc575aae3df0cca62c8e29b00d7d7efa647a025dc66894e9a459fb2da6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:26:11.144Z] + go version [2023-02-15T18:26:11.144Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:26:11.174Z] $ docker stop --time=1 0ac570dc575aae3df0cca62c8e29b00d7d7efa647a025dc66894e9a459fb2da6 [2023-02-15T18:26:12.831Z] $ docker rm -f --volumes 0ac570dc575aae3df0cca62c8e29b00d7d7efa647a025dc66894e9a459fb2da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:26:13.698Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:26:13.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:26:13.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container [2023-02-15T18:26:14.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:26:15.266Z] $ docker top 8d9d6b5e6dbc6aff177f250bf31e47d9024e7164a762243e051a26711447a7f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:26:16.151Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:26:16.860Z] + make test [2023-02-15T18:26:16.860Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:26:18.285Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T18:27:39.953Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T18:27:44.214Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.9% of statements [2023-02-15T18:27:44.214Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T18:27:44.214Z] go vet ./... [2023-02-15T18:28:16.465Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:28:16.465Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:28:16.465Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:28:16.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:28:16.538Z] $ docker stop --time=1 8d9d6b5e6dbc6aff177f250bf31e47d9024e7164a762243e051a26711447a7f1 [2023-02-15T18:28:19.657Z] $ docker rm -f --volumes 8d9d6b5e6dbc6aff177f250bf31e47d9024e7164a762243e051a26711447a7f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:28:20.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:28:20.844Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T18:28:21.435Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:28:22.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:28:22.393Z] + ls -al . [2023-02-15T18:28:22.393Z] total 184 [2023-02-15T18:28:22.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:26 . [2023-02-15T18:28:22.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:23 .. [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 18:23 .dockerignore [2023-02-15T18:28:22.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:23 .git [2023-02-15T18:28:22.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:23 .github [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 18:23 .gitignore [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:23 .golangci.yml [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 15 18:23 Attribution.txt [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 18:23 CHANGELOG.md [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 18:23 Dockerfile [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:23 GOVERNANCE.md [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 18:23 Jenkinsfile [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:23 LICENSE [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 18:23 Makefile [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 18:23 OWNERS.md [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 18:23 README.md [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:19 VERSION [2023-02-15T18:28:22.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:23 bin [2023-02-15T18:28:22.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:23 cmd [2023-02-15T18:28:22.393Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 18:27 coverage.out [2023-02-15T18:28:22.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:23 driver [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 18:23 go.mod [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 18:23 go.sum [2023-02-15T18:28:22.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:23 snap [2023-02-15T18:28:22.393Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:28:22.817Z] + 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=8da119deae904f0cdbc225e70e316a74b9f6d08b --label arch=arm64 --label version=0.0.0 . [2023-02-15T18:28:22.817Z] Sending build context to Docker daemon 154.1kB [2023-02-15T18:28:23.086Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:28:23.086Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:28:23.086Z] ---> 514f291324c5 [2023-02-15T18:28:23.086Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:28:23.086Z] ---> Running in dcb022283209 [2023-02-15T18:28:23.370Z] Removing intermediate container dcb022283209 [2023-02-15T18:28:23.370Z] ---> 957a61c195bc [2023-02-15T18:28:23.370Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:28:23.647Z] ---> Running in 7cfdfee4ff71 [2023-02-15T18:28:23.918Z] Removing intermediate container 7cfdfee4ff71 [2023-02-15T18:28:23.918Z] ---> 04f16c3f3cf6 [2023-02-15T18:28:23.918Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:28:23.918Z] ---> Running in 15516fb90743 [2023-02-15T18:28:24.195Z] Removing intermediate container 15516fb90743 [2023-02-15T18:28:24.195Z] ---> 670e3993e203 [2023-02-15T18:28:24.195Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:28:24.463Z] ---> Running in fa9434183af9 [2023-02-15T18:28:24.732Z] Removing intermediate container fa9434183af9 [2023-02-15T18:28:24.732Z] ---> 59de81b3c249 [2023-02-15T18:28:24.732Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:28:24.732Z] ---> Running in d29345639e2e [2023-02-15T18:28:25.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:28:26.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:28:27.253Z] OK: 226 MiB in 55 packages [2023-02-15T18:28:28.220Z] Removing intermediate container d29345639e2e [2023-02-15T18:28:28.220Z] ---> da63ce0f1e9a [2023-02-15T18:28:28.220Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T18:28:28.220Z] ---> Running in 4fd8ef83fa4d [2023-02-15T18:28:28.498Z] Removing intermediate container 4fd8ef83fa4d [2023-02-15T18:28:28.498Z] ---> aae40267cfb9 [2023-02-15T18:28:28.498Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T18:28:31.086Z] ---> 7b0430227e5d [2023-02-15T18:28:31.086Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:28:31.086Z] ---> Running in a9b9facdbb3f [2023-02-15T18:28:33.783Z] Removing intermediate container a9b9facdbb3f [2023-02-15T18:28:33.783Z] ---> 7ee396381efb [2023-02-15T18:28:33.783Z] Step 11/25 : COPY . . [2023-02-15T18:28:34.066Z] ---> 5999c76b8071 [2023-02-15T18:28:34.066Z] Step 12/25 : RUN $MAKE [2023-02-15T18:28:34.345Z] ---> Running in c0a96345788f [2023-02-15T18:28:35.345Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T18:30:42.065Z] Removing intermediate container c0a96345788f [2023-02-15T18:30:42.065Z] ---> 87421f0766b3 [2023-02-15T18:30:42.065Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:30:42.065Z] 3.16: Pulling from library/alpine [2023-02-15T18:30:42.065Z] 3760b48202b3: Pulling fs layer [2023-02-15T18:30:42.065Z] 3760b48202b3: Verifying Checksum [2023-02-15T18:30:42.065Z] 3760b48202b3: Download complete [2023-02-15T18:30:42.065Z] 3760b48202b3: Pull complete [2023-02-15T18:30:42.065Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:30:42.065Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:30:42.065Z] ---> 4c81e5bf8899 [2023-02-15T18:30:42.065Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T18:30:42.065Z] ---> Running in 226cc4246ef1 [2023-02-15T18:30:42.065Z] Removing intermediate container 226cc4246ef1 [2023-02-15T18:30:42.065Z] ---> bed3b40080c8 [2023-02-15T18:30:42.065Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T18:30:42.065Z] ---> Running in f6059f5f4d28 [2023-02-15T18:30:42.065Z] Removing intermediate container f6059f5f4d28 [2023-02-15T18:30:42.065Z] ---> 46f0febd9968 [2023-02-15T18:30:42.065Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:30:42.065Z] ---> Running in b9121f1245cf [2023-02-15T18:30:42.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:30:42.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:30:43.298Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:30:43.298Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:30:43.298Z] OK: 5 MiB in 15 packages [2023-02-15T18:30:44.272Z] Removing intermediate container b9121f1245cf [2023-02-15T18:30:44.272Z] ---> 57e322e19524 [2023-02-15T18:30:44.272Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T18:30:45.683Z] ---> 075608a9973e [2023-02-15T18:30:45.683Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T18:30:46.269Z] ---> 565c06b6b976 [2023-02-15T18:30:46.269Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T18:30:46.542Z] ---> 888e38d06c2d [2023-02-15T18:30:46.542Z] Step 20/25 : EXPOSE 59986 [2023-02-15T18:30:46.542Z] ---> Running in 1caa125bc992 [2023-02-15T18:30:46.812Z] Removing intermediate container 1caa125bc992 [2023-02-15T18:30:46.812Z] ---> 3000f0873243 [2023-02-15T18:30:46.812Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T18:30:47.079Z] ---> Running in df7b0115639b [2023-02-15T18:30:47.346Z] Removing intermediate container df7b0115639b [2023-02-15T18:30:47.346Z] ---> 027c6334a622 [2023-02-15T18:30:47.346Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T18:30:47.346Z] ---> Running in 8c04fd55e2a2 [2023-02-15T18:30:47.616Z] Removing intermediate container 8c04fd55e2a2 [2023-02-15T18:30:47.616Z] ---> f166b94a78cc [2023-02-15T18:30:47.616Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T18:30:47.616Z] ---> Running in 4009eab485c8 [2023-02-15T18:30:47.883Z] Removing intermediate container 4009eab485c8 [2023-02-15T18:30:47.883Z] ---> c4050ca11f7a [2023-02-15T18:30:47.883Z] Step 24/25 : LABEL git_sha=8da119deae904f0cdbc225e70e316a74b9f6d08b [2023-02-15T18:30:48.157Z] ---> Running in 72e34f2d06fc [2023-02-15T18:30:51.506Z] Removing intermediate container 72e34f2d06fc [2023-02-15T18:30:51.506Z] ---> c088d986d77e [2023-02-15T18:30:51.506Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T18:30:51.506Z] ---> Running in 8d4d07cbdf80 [2023-02-15T18:30:51.506Z] Removing intermediate container 8d4d07cbdf80 [2023-02-15T18:30:51.506Z] ---> eaf2bb657a9e [2023-02-15T18:30:51.506Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:30:51.506Z] Successfully built eaf2bb657a9e [2023-02-15T18:30:51.506Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:30:52.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:30:52.334Z] [2023-02-15T18:30:52.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:30:52.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:30:52.748Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:30:52.748Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:30:52.748Z] 04944245beec: Pulling fs layer [2023-02-15T18:30:52.748Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:30:52.748Z] 765212b225bb: Pulling fs layer [2023-02-15T18:30:52.748Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:30:52.748Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:30:52.748Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:30:52.748Z] 765212b225bb: Waiting [2023-02-15T18:30:52.748Z] f23df028b6ca: Waiting [2023-02-15T18:30:52.748Z] d65c8cfc05b1: Waiting [2023-02-15T18:30:52.748Z] 2437ff75d9bd: Waiting [2023-02-15T18:30:53.022Z] 04944245beec: Verifying Checksum [2023-02-15T18:30:53.022Z] 04944245beec: Download complete [2023-02-15T18:30:53.022Z] 765212b225bb: Download complete [2023-02-15T18:30:53.022Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:30:53.022Z] f23df028b6ca: Download complete [2023-02-15T18:30:53.298Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:30:53.298Z] d65c8cfc05b1: Download complete [2023-02-15T18:30:53.298Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:30:53.298Z] 699f458cf7ca: Download complete [2023-02-15T18:30:53.566Z] 8998bd30e6a1: Download complete [2023-02-15T18:30:56.166Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:30:56.166Z] 2437ff75d9bd: Download complete [2023-02-15T18:30:57.576Z] 8998bd30e6a1: Pull complete [2023-02-15T18:30:57.842Z] 04944245beec: Pull complete [2023-02-15T18:30:59.252Z] 699f458cf7ca: Pull complete [2023-02-15T18:30:59.252Z] 765212b225bb: Pull complete [2023-02-15T18:30:59.837Z] f23df028b6ca: Pull complete [2023-02-15T18:31:00.105Z] d65c8cfc05b1: Pull complete [2023-02-15T18:31:15.116Z] 2437ff75d9bd: Pull complete [2023-02-15T18:31:15.116Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:31:15.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:31:15.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:31:15.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container [2023-02-15T18:31:15.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T18:31:18.211Z] $ docker top 327dee259e450d4c6d3e4749c03290bbc6d3427fedddd536b24e7aeacb0ae39f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:19.130Z] ---> job-cost.sh [2023-02-15T18:31:19.130Z] lf-activate-venv: SKIPPING [2023-02-15T18:31:19.130Z] INFO: No Stack... [2023-02-15T18:31:20.541Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:31:21.125Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:31:21.783Z] + cut -d, -f6 [2023-02-15T18:31:21.783Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-02-15T18:31:21.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] [2023-02-15T18:31:21.864Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] did not exist. Created. [2023-02-15T18:31:21.865Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:31:22.273Z] /w/workspace/device-rest-go/1@tmp/durable-54ae2fa3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:31:22.632Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:31:22.667Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:31:22.710Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:31:22.723Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-254-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:31:22.795Z] $ docker stop --time=1 327dee259e450d4c6d3e4749c03290bbc6d3427fedddd536b24e7aeacb0ae39f [2023-02-15T18:31:24.298Z] $ docker rm -f --volumes 327dee259e450d4c6d3e4749c03290bbc6d3427fedddd536b24e7aeacb0ae39f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-15T18:31:25.243Z] provisioning config files... [2023-02-15T18:31:25.251Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-254@tmp/config13263596812891486748tmp [Pipeline] { [Pipeline] sh [2023-02-15T18:31:25.579Z] + set +x [2023-02-15T18:31:25.579Z] + + curl -s https://codecov.io/bash [2023-02-15T18:31:25.579Z] bash -s -- [2023-02-15T18:31:25.579Z] [2023-02-15T18:31:25.579Z] _____ _ [2023-02-15T18:31:25.579Z] / ____| | | [2023-02-15T18:31:25.579Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T18:31:25.579Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T18:31:25.579Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T18:31:25.579Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T18:31:25.579Z] Bash-1.0.6 [2023-02-15T18:31:25.579Z] [2023-02-15T18:31:25.579Z] [2023-02-15T18:31:25.579Z] ==> git version 2.25.1 found [2023-02-15T18:31:25.579Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-15T18:31:25.579Z] Release-Date: 2020-01-08 [2023-02-15T18:31:25.579Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T18:31:25.579Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T18:31:25.579Z] ==> Jenkins CI detected. [2023-02-15T18:31:25.579Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-254 [2023-02-15T18:31:25.579Z] project root: . [2023-02-15T18:31:25.579Z] --> token set from env [2023-02-15T18:31:25.579Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T18:31:25.579Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T18:31:25.579Z] ==> Python coveragepy not found [2023-02-15T18:31:25.579Z] ==> Searching for coverage reports in: [2023-02-15T18:31:25.579Z] + . [2023-02-15T18:31:25.579Z] -> Found 1 reports [2023-02-15T18:31:25.579Z] ==> Detecting git/mercurial file structure [2023-02-15T18:31:25.579Z] ==> Reading reports [2023-02-15T18:31:25.579Z] + ./coverage.out bytes=13744 [2023-02-15T18:31:25.579Z] ==> Appending adjustments [2023-02-15T18:31:25.579Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T18:31:25.838Z] + Found adjustments [2023-02-15T18:31:25.838Z] ==> Gzipping contents [2023-02-15T18:31:25.838Z] 4.0K /tmp/codecov.GEuO1P.gz [2023-02-15T18:31:25.838Z] ==> Uploading reports [2023-02-15T18:31:25.838Z] url: https://codecov.io [2023-02-15T18:31:25.838Z] query: branch=PR-254&commit=8da119deae904f0cdbc225e70e316a74b9f6d08b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-02-15T18:31:25.838Z] -> Pinging Codecov [2023-02-15T18:31:25.838Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-254&commit=8da119deae904f0cdbc225e70e316a74b9f6d08b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-02-15T18:31:25.838Z] -> Uploading to [2023-02-15T18:31:25.838Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/8da119deae904f0cdbc225e70e316a74b9f6d08b/de920754-21e4-4d44-a233-7b4b2c419575.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T183125Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ba2ad3865caa801edbfcfbf3a7a8419a3abd1a5d88682e67ed042c0001ee93d [2023-02-15T18:31:25.838Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:31:25.838Z] Dload Upload Total Spent Left Speed [2023-02-15T18:31:26.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9772 --:--:-- --:--:-- --:--:-- 9772 [2023-02-15T18:31:26.098Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8da119deae904f0cdbc225e70e316a74b9f6d08b [Pipeline] } [2023-02-15T18:31:26.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T18:31:27.861Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-254/archives ] [2023-02-15T18:31:27.862Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-254/archives [2023-02-15T18:31:27.862Z] total 16 [2023-02-15T18:31:27.862Z] drwxr-xr-x 3 root root 4096 Feb 15 18:23 . [2023-02-15T18:31:27.862Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:23 .. [2023-02-15T18:31:27.862Z] drwxr-xr-x 2 root root 4096 Feb 15 18:23 cost [2023-02-15T18:31:27.862Z] -rw-r--r-- 1 root root 86 Feb 15 18:23 cost.csv [2023-02-15T18:31:27.862Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-254/archives [2023-02-15T18:31:27.862Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-254/archives [2023-02-15T18:31:27.862Z] total 16 [2023-02-15T18:31:27.862Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:23 . [2023-02-15T18:31:27.862Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:23 .. [2023-02-15T18:31:27.862Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:23 cost [2023-02-15T18:31:27.862Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 18:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:28.184Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:29.075Z] ---> package-listing.sh [2023-02-15T18:31:29.075Z] ++ facter osfamily [2023-02-15T18:31:29.075Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:31:29.334Z] + OS_FAMILY=debian [2023-02-15T18:31:29.334Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-254 [2023-02-15T18:31:29.334Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:31:29.334Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:31:29.334Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:31:29.334Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:31:29.334Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-254 ']' [2023-02-15T18:31:29.334Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:31:29.334Z] + case "${OS_FAMILY}" in [2023-02-15T18:31:29.334Z] + dpkg -l [2023-02-15T18:31:29.334Z] + grep '^ii' [2023-02-15T18:31:29.334Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:31:29.334Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:31:29.334Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:31:29.334Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-254 ']' [2023-02-15T18:31:29.334Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-254/archives/ [2023-02-15T18:31:29.334Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-254/archives/ [Pipeline] echo [2023-02-15T18:31:29.370Z] 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T18:31:29.657Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:31:30.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:31:30.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:31:30.423Z] prd-ubuntu20.04-docker-8c-8g-6167 does not seem to be running inside a container [2023-02-15T18:31:30.457Z] $ 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-254/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-254 -v /w/workspace/gexfoundry_device-rest-go_PR-254:/w/workspace/gexfoundry_device-rest-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-254@tmp:/w/workspace/gexfoundry_device-rest-go_PR-254@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-02-15T18:31:30.644Z] $ docker top ad3d6c270886050c097beb8191920300108c697b1cf6aa2365b3a5fdbf655a34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:31:31.031Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:31:31.338Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:31:31.652Z] + ls /var/log/sa-host [2023-02-15T18:31:31.652Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:31:31.790Z] provisioning config files... [2023-02-15T18:31:31.798Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-254@tmp/config6971718741334348897tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:31:31.841Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:32.147Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:31:32.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:32.573Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:31:32.605Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:32.915Z] ---> sudo-logs.sh [2023-02-15T18:31:32.915Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:31:32.998Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:33.307Z] ---> job-cost.sh [2023-02-15T18:31:33.307Z] lf-activate-venv: SKIPPING [2023-02-15T18:31:33.307Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:31:33.307Z] INFO: Retrieving Stack Cost... [2023-02-15T18:31:33.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:31:34.131Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:31:34.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:31:34.471Z] ---> logs-deploy.sh [2023-02-15T18:31:34.471Z] lf-activate-venv: SKIPPING [2023-02-15T18:31:34.471Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-254/1 [2023-02-15T18:31:34.471Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:31:35.409Z] Archives upload complete. [2023-02-15T18:31:35.409Z] INFO: archiving logs to Nexus