Pull request #296 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c4fca19395fb2ff4115de08003bb99245d7ba5d+8f28bd2feba64f4e14e7f4e476d7a420beb0434d (0722b0fd1192ef9e5728d7651402cd7e20b90d50) 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-ssh1957461907235099423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7963574495106930590.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-296/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-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1844401101853172759.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-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5758786563239264887.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17363213051473327947.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-296/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-296/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10702733423055544117.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9212 in /w/workspace/gexfoundry_device-rest-go_PR-296 [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-296 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 8c4fca19395fb2ff4115de08003bb99245d7ba5d Merge succeeded, producing 8c4fca19395fb2ff4115de08003bb99245d7ba5d Checking out Revision 8c4fca19395fb2ff4115de08003bb99245d7ba5d (PR-296) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-20T21:00:23.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # 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 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # timeout=10 [Pipeline] withCredentials [2023-04-20T21:00:24.185Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-20T21:00:24.306Z] ========================================================= [2023-04-20T21:00:24.307Z] EdgeX Global Pipelines Version Info [2023-04-20T21:00:24.307Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:00:25.051Z] ------------------- [2023-04-20T21:00:25.051Z] stable info: [2023-04-20T21:00:25.051Z] ------------------- [2023-04-20T21:00:25.051Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-20T21:00:25.051Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-20T21:00:25.051Z] Message: update stable to v1.0.248 [2023-04-20T21:00:25.624Z] ------------------- [2023-04-20T21:00:25.624Z] experimental info: [2023-04-20T21:00:25.624Z] ------------------- [2023-04-20T21:00:25.624Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-20T21:00:25.624Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-20T21:00:25.624Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-20T21:00:25.921Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-20T21:00:25.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-20T21:00:26.007Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-20T21:00:26.047Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-20T21:00:26.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-20T21:00:26.136Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-20T21:00:26.175Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-20T21:00:26.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-20T21:00:26.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-20T21:00:26.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-20T21:00:26.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-20T21:00:26.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-20T21:00:26.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-20T21:00:26.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-20T21:00:26.494Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-20T21:00:26.536Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-20T21:00:26.582Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-20T21:00:26.623Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-20T21:00:26.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-20T21:00:26.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-20T21:00:26.742Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-20T21:00:26.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-20T21:00:26.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-20T21:00:26.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-20T21:00:26.907Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-20T21:00:26.944Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-20T21:00:26.982Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-20T21:00:27.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-296 [Pipeline] echo [2023-04-20T21:00:27.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-296 [Pipeline] echo [2023-04-20T21:00:27.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-296 [Pipeline] echo [2023-04-20T21:00:27.153Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo [2023-04-20T21:00:27.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c4fca1 [Pipeline] echo [2023-04-20T21:00:27.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-20T21:00:27.410Z] provisioning config files... [2023-04-20T21:00:27.428Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config8914131688580383847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:00:27.786Z] ---> docker-login.sh [2023-04-20T21:00:27.786Z] nexus3.edgexfoundry.org:10001 [2023-04-20T21:00:28.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:28.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:28.049Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:28.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:28.049Z] [2023-04-20T21:00:28.049Z] Login Succeeded [2023-04-20T21:00:28.049Z] nexus3.edgexfoundry.org:10002 [2023-04-20T21:00:28.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:28.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:28.311Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:28.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:28.311Z] [2023-04-20T21:00:28.311Z] Login Succeeded [2023-04-20T21:00:28.311Z] nexus3.edgexfoundry.org:10003 [2023-04-20T21:00:28.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:28.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:28.311Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:28.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:28.311Z] [2023-04-20T21:00:28.311Z] Login Succeeded [2023-04-20T21:00:28.311Z] nexus3.edgexfoundry.org:10004 [2023-04-20T21:00:28.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:28.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:28.311Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:28.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:28.311Z] [2023-04-20T21:00:28.311Z] Login Succeeded [2023-04-20T21:00:28.311Z] docker.io [2023-04-20T21:00:28.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:28.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:28.832Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:28.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:28.832Z] [2023-04-20T21:00:28.833Z] Login Succeeded [2023-04-20T21:00:28.833Z] ---> docker-login.sh ends [Pipeline] } [2023-04-20T21:00:28.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-20T21:00:29.537Z] + git rev-list -1 --merges 8c4fca19395fb2ff4115de08003bb99245d7ba5d~1..8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo [2023-04-20T21:00:29.613Z] -----------> git rev-list -1 --merges 8c4fca19395fb2ff4115de08003bb99245d7ba5d~1..8c4fca19395fb2ff4115de08003bb99245d7ba5d 8c4fca19395fb2ff4115de08003bb99245d7ba5d [false] [Pipeline] sh [2023-04-20T21:00:29.930Z] + git log --format=format:%s -1 8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo [2023-04-20T21:00:29.968Z] ========================================================= [2023-04-20T21:00:29.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-20T21:00:29.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-20T21:00:30.418Z] + git log --format=format:%s -1 8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo [2023-04-20T21:00:30.455Z] [semverPrep] GIT_COMMIT: 8c4fca19395fb2ff4115de08003bb99245d7ba5d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-20T21:00:30.488Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-20T21:00:30.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-20T21:00:30.905Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-20T21:00:30.905Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-20T21:00:30.905Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-20T21:00:30.905Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-20T21:00:30.905Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-20T21:00:30.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:00:31.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-20T21:00:31.474Z] [2023-04-20T21:00:31.474Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:00:31.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-20T21:00:31.882Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-20T21:00:31.882Z] b85a868b505f: Pulling fs layer [2023-04-20T21:00:31.882Z] e2be974225ed: Pulling fs layer [2023-04-20T21:00:31.882Z] 339a4e72a1f5: Pulling fs layer [2023-04-20T21:00:31.882Z] 988bab9f4d93: Pulling fs layer [2023-04-20T21:00:31.882Z] 1469e6f7b9e6: Pulling fs layer [2023-04-20T21:00:31.882Z] eaf3925da568: Pulling fs layer [2023-04-20T21:00:31.882Z] bab4dde63d76: Pulling fs layer [2023-04-20T21:00:31.882Z] bde34c3a00c8: Pulling fs layer [2023-04-20T21:00:31.882Z] b352a97aabf1: Pulling fs layer [2023-04-20T21:00:31.882Z] 4872d77fe225: Pulling fs layer [2023-04-20T21:00:31.882Z] 5851b861e8e6: Pulling fs layer [2023-04-20T21:00:31.882Z] 988bab9f4d93: Waiting [2023-04-20T21:00:31.882Z] bab4dde63d76: Waiting [2023-04-20T21:00:31.882Z] 1469e6f7b9e6: Waiting [2023-04-20T21:00:31.882Z] bde34c3a00c8: Waiting [2023-04-20T21:00:31.882Z] b352a97aabf1: Waiting [2023-04-20T21:00:31.882Z] eaf3925da568: Waiting [2023-04-20T21:00:31.882Z] 4872d77fe225: Waiting [2023-04-20T21:00:31.882Z] 5851b861e8e6: Waiting [2023-04-20T21:00:31.882Z] e2be974225ed: Download complete [2023-04-20T21:00:31.882Z] 988bab9f4d93: Download complete [2023-04-20T21:00:31.882Z] 1469e6f7b9e6: Verifying Checksum [2023-04-20T21:00:31.882Z] 1469e6f7b9e6: Download complete [2023-04-20T21:00:31.882Z] eaf3925da568: Verifying Checksum [2023-04-20T21:00:31.882Z] eaf3925da568: Download complete [2023-04-20T21:00:32.145Z] 339a4e72a1f5: Verifying Checksum [2023-04-20T21:00:32.145Z] 339a4e72a1f5: Download complete [2023-04-20T21:00:32.145Z] bde34c3a00c8: Verifying Checksum [2023-04-20T21:00:32.145Z] bde34c3a00c8: Download complete [2023-04-20T21:00:32.145Z] b352a97aabf1: Verifying Checksum [2023-04-20T21:00:32.145Z] b352a97aabf1: Download complete [2023-04-20T21:00:32.145Z] 4872d77fe225: Verifying Checksum [2023-04-20T21:00:32.145Z] 4872d77fe225: Download complete [2023-04-20T21:00:32.145Z] 5851b861e8e6: Verifying Checksum [2023-04-20T21:00:32.145Z] 5851b861e8e6: Download complete [2023-04-20T21:00:32.145Z] b85a868b505f: Verifying Checksum [2023-04-20T21:00:32.145Z] b85a868b505f: Download complete [2023-04-20T21:00:32.406Z] bab4dde63d76: Verifying Checksum [2023-04-20T21:00:32.406Z] bab4dde63d76: Download complete [2023-04-20T21:00:33.348Z] b85a868b505f: Pull complete [2023-04-20T21:00:33.612Z] e2be974225ed: Pull complete [2023-04-20T21:00:34.182Z] 339a4e72a1f5: Pull complete [2023-04-20T21:00:34.182Z] 988bab9f4d93: Pull complete [2023-04-20T21:00:34.443Z] 1469e6f7b9e6: Pull complete [2023-04-20T21:00:34.443Z] eaf3925da568: Pull complete [2023-04-20T21:00:36.354Z] bab4dde63d76: Pull complete [2023-04-20T21:00:36.354Z] bde34c3a00c8: Pull complete [2023-04-20T21:00:36.616Z] b352a97aabf1: Pull complete [2023-04-20T21:00:36.616Z] 4872d77fe225: Pull complete [2023-04-20T21:00:36.883Z] 5851b861e8e6: Pull complete [2023-04-20T21:00:36.883Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-20T21:00:36.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-20T21:00:36.883Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:00:37.129Z] prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container [2023-04-20T21:00:37.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-20T21:00:39.387Z] $ docker top 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 -eo pid,comm [2023-04-20T21:00:39.444Z] 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-04-20T21:00:39.444Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-20T21:00:39.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-20T21:00:39.583Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-20T21:00:39.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-20T21:00:39.711Z] $ docker exec 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent [2023-04-20T21:00:39.818Z] SSH_AUTH_SOCK=/tmp/ssh-JYENwwE0BNFr/agent.31 [2023-04-20T21:00:39.818Z] SSH_AGENT_PID=37 [2023-04-20T21:00:39.825Z] Running ssh-add (command line suppressed) [2023-04-20T21:00:39.934Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_5706156110212557370.key (/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_5706156110212557370.key) [2023-04-20T21:00:39.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-20T21:00:40.289Z] + git tag --points-at HEAD [Pipeline] } [2023-04-20T21:00:40.320Z] $ docker exec --env ******** --env ******** 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent -k [2023-04-20T21:00:40.415Z] unset SSH_AUTH_SOCK; [2023-04-20T21:00:40.416Z] unset SSH_AGENT_PID; [2023-04-20T21:00:40.416Z] echo Agent pid 37 killed; [2023-04-20T21:00:40.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-20T21:00:40.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-20T21:00:40.523Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-20T21:00:40.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-20T21:00:40.647Z] $ docker exec 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent [2023-04-20T21:00:40.747Z] SSH_AUTH_SOCK=/tmp/ssh-MiTQ4Nj6eagp/agent.69 [2023-04-20T21:00:40.747Z] SSH_AGENT_PID=75 [2023-04-20T21:00:40.754Z] Running ssh-add (command line suppressed) [2023-04-20T21:00:40.863Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_10084318621517150124.key (/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_10084318621517150124.key) [2023-04-20T21:00:40.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-20T21:00:41.218Z] + git semver init [2023-04-20T21:00:41.478Z] 2023-04-20 21:00:41,450 [run_init] DEBUG init version:0.0.0 force:False [2023-04-20T21:00:41.478Z] 2023-04-20 21:00:41,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-296/.semver [2023-04-20T21:00:41.478Z] 2023-04-20 21:00:41,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-296/.semver [2023-04-20T21:00:41.478Z] 2023-04-20 21:00:41,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-296/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-296, universal_newlines=False, shell=None, istream=None) [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,513 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-296/.git/info/exclude [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,514 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-296/.semver/PR-296 with force:False [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,514 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-296/.semver/PR-296 [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,520 [execute] INFO git cat-file --batch-check [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,526 [execute] INFO git cat-file --batch [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) [2023-04-20T21:00:42.864Z] 2023-04-20 21:00:42,532 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-296/.semver/PR-296 [2023-04-20T21:00:42.864Z] 0.0.0 [Pipeline] } [2023-04-20T21:00:42.893Z] $ docker exec --env ******** --env ******** 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent -k [2023-04-20T21:00:43.005Z] unset SSH_AUTH_SOCK; [2023-04-20T21:00:43.006Z] unset SSH_AGENT_PID; [2023-04-20T21:00:43.006Z] echo Agent pid 75 killed; [2023-04-20T21:00:43.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-20T21:00:43.459Z] + git semver [Pipeline] } [2023-04-20T21:00:43.753Z] $ docker stop --time=1 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 [2023-04-20T21:00:45.064Z] $ docker rm -f --volumes 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-20T21:00:45.467Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-20T21:00:45.772Z] Stashed 1 file(s) [Pipeline] echo [2023-04-20T21:00:45.788Z] [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-04-20T21:00:46.385Z] provisioning config files... [2023-04-20T21:00:46.396Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config12076422341409260511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:00:46.752Z] ---> docker-login.sh [2023-04-20T21:00:46.752Z] nexus3.edgexfoundry.org:10001 [2023-04-20T21:00:46.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:46.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:46.752Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:46.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:46.752Z] [2023-04-20T21:00:46.752Z] Login Succeeded [2023-04-20T21:00:46.752Z] nexus3.edgexfoundry.org:10002 [2023-04-20T21:00:46.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:46.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:46.752Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:46.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:46.752Z] [2023-04-20T21:00:46.752Z] Login Succeeded [2023-04-20T21:00:46.752Z] nexus3.edgexfoundry.org:10003 [2023-04-20T21:00:47.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:47.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:47.013Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:47.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:47.013Z] [2023-04-20T21:00:47.013Z] Login Succeeded [2023-04-20T21:00:47.013Z] nexus3.edgexfoundry.org:10004 [2023-04-20T21:00:47.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:47.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:47.013Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:47.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:47.013Z] [2023-04-20T21:00:47.013Z] Login Succeeded [2023-04-20T21:00:47.013Z] docker.io [2023-04-20T21:00:47.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:00:47.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:00:47.275Z] Configure a credential helper to remove this warning. See [2023-04-20T21:00:47.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:00:47.275Z] [2023-04-20T21:00:47.275Z] Login Succeeded [2023-04-20T21:00:47.275Z] ---> docker-login.sh ends [Pipeline] } [2023-04-20T21:00:47.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-20T21:00:47.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T21:00:47.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T21:00:47.597Z] ========================================================= [2023-04-20T21:00:47.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-20T21:00:47.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:00:48.108Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-20T21:00:48.109Z] Sending build context to Docker daemon 10.9MB [2023-04-20T21:00:48.109Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T21:00:48.109Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-20T21:00:48.109Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-20T21:00:48.109Z] 63b65145d645: Pulling fs layer [2023-04-20T21:00:48.109Z] a2d21d5440eb: Pulling fs layer [2023-04-20T21:00:48.109Z] 935e6c44a52c: Pulling fs layer [2023-04-20T21:00:48.109Z] 94cc34f8dd06: Pulling fs layer [2023-04-20T21:00:48.109Z] 30dea6a524f1: Pulling fs layer [2023-04-20T21:00:48.109Z] a2aff8979fd8: Pulling fs layer [2023-04-20T21:00:48.109Z] 94cc34f8dd06: Waiting [2023-04-20T21:00:48.109Z] 30dea6a524f1: Waiting [2023-04-20T21:00:48.109Z] 6808be2612f2: Pulling fs layer [2023-04-20T21:00:48.109Z] f25807f1079a: Pulling fs layer [2023-04-20T21:00:48.109Z] a2aff8979fd8: Waiting [2023-04-20T21:00:48.109Z] f25807f1079a: Waiting [2023-04-20T21:00:48.371Z] a2d21d5440eb: Download complete [2023-04-20T21:00:48.371Z] 94cc34f8dd06: Verifying Checksum [2023-04-20T21:00:48.371Z] 94cc34f8dd06: Download complete [2023-04-20T21:00:48.371Z] 30dea6a524f1: Verifying Checksum [2023-04-20T21:00:48.371Z] 30dea6a524f1: Download complete [2023-04-20T21:00:48.371Z] 63b65145d645: Verifying Checksum [2023-04-20T21:00:48.371Z] 63b65145d645: Download complete [2023-04-20T21:00:48.371Z] a2aff8979fd8: Verifying Checksum [2023-04-20T21:00:48.371Z] a2aff8979fd8: Download complete [2023-04-20T21:00:48.371Z] 63b65145d645: Pull complete [2023-04-20T21:00:48.635Z] a2d21d5440eb: Pull complete [2023-04-20T21:00:48.896Z] f25807f1079a: Verifying Checksum [2023-04-20T21:00:48.896Z] f25807f1079a: Download complete [2023-04-20T21:00:48.896Z] 935e6c44a52c: Verifying Checksum [2023-04-20T21:00:48.896Z] 935e6c44a52c: Download complete [2023-04-20T21:00:49.156Z] 6808be2612f2: Verifying Checksum [2023-04-20T21:00:49.156Z] 6808be2612f2: Download complete [2023-04-20T21:00:53.349Z] 935e6c44a52c: Pull complete [2023-04-20T21:00:53.349Z] 94cc34f8dd06: Pull complete [2023-04-20T21:00:53.349Z] 30dea6a524f1: Pull complete [2023-04-20T21:00:53.349Z] a2aff8979fd8: Pull complete [2023-04-20T21:00:55.256Z] 6808be2612f2: Pull complete [2023-04-20T21:00:56.193Z] f25807f1079a: Pull complete [2023-04-20T21:00:56.193Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-20T21:00:56.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-20T21:00:56.193Z] ---> 3b553350e43f [2023-04-20T21:00:56.193Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-20T21:00:59.496Z] ---> Running in 3400ea313455 [2023-04-20T21:00:59.757Z] Removing intermediate container 3400ea313455 [2023-04-20T21:00:59.757Z] ---> 9c9f0382820c [2023-04-20T21:00:59.757Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-20T21:00:59.757Z] ---> Running in 2a1bc3d71f1d [2023-04-20T21:00:59.757Z] Removing intermediate container 2a1bc3d71f1d [2023-04-20T21:00:59.757Z] ---> 68f85bdd1f86 [2023-04-20T21:00:59.757Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-20T21:00:59.757Z] ---> Running in f426ea442852 [2023-04-20T21:01:00.018Z] Removing intermediate container f426ea442852 [2023-04-20T21:01:00.018Z] ---> 36bb3c50fc37 [2023-04-20T21:01:00.018Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-20T21:01:00.018Z] ---> Running in 786485eef759 [2023-04-20T21:01:00.018Z] Removing intermediate container 786485eef759 [2023-04-20T21:01:00.018Z] ---> a70e217a4fac [2023-04-20T21:01:00.018Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-20T21:01:00.018Z] ---> Running in c006f84f3ebe [2023-04-20T21:01:00.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-20T21:01:00.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-20T21:01:00.802Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-20T21:01:00.802Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-20T21:01:00.802Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-20T21:01:00.802Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-20T21:01:00.802Z] Executing busybox-1.35.0-r29.trigger [2023-04-20T21:01:00.802Z] OK: 269 MiB in 57 packages [2023-04-20T21:01:01.197Z] Still waiting to schedule task [2023-04-20T21:01:01.197Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-20T21:01:01.370Z] Removing intermediate container c006f84f3ebe [2023-04-20T21:01:01.370Z] ---> a38fe6a82442 [2023-04-20T21:01:01.370Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-20T21:01:01.370Z] ---> Running in aec93c4c6102 [2023-04-20T21:01:01.370Z] Removing intermediate container aec93c4c6102 [2023-04-20T21:01:01.370Z] ---> 0d63cdf048bf [2023-04-20T21:01:01.370Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-20T21:01:01.370Z] ---> 200b0d54c78f [2023-04-20T21:01:01.370Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T21:01:01.370Z] ---> Running in bb7f10e05b74 [2023-04-20T21:01:48.083Z] Removing intermediate container bb7f10e05b74 [2023-04-20T21:01:48.083Z] ---> b888b490c7d3 [2023-04-20T21:01:48.083Z] Step 11/12 : COPY . . [2023-04-20T21:01:48.083Z] ---> 9232cc4d085b [2023-04-20T21:01:48.083Z] Step 12/12 : RUN $MAKE [2023-04-20T21:01:48.083Z] ---> Running in 2a78348018fe [2023-04-20T21:01:48.083Z] noop [2023-04-20T21:01:48.083Z] Removing intermediate container 2a78348018fe [2023-04-20T21:01:48.083Z] ---> 48dea4c6ad99 [2023-04-20T21:01:48.083Z] Successfully built 48dea4c6ad99 [2023-04-20T21:01:48.083Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:01:48.544Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-20T21:01:48.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:01:48.703Z] prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container [2023-04-20T21:01:48.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-20T21:01:49.069Z] $ docker top 96adda0dc4663be2b7db2cd9e3c829645c650427674e826aa732648e1e9f0f14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T21:01:49.514Z] + go version [2023-04-20T21:01:49.514Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-20T21:01:49.552Z] $ docker stop --time=1 96adda0dc4663be2b7db2cd9e3c829645c650427674e826aa732648e1e9f0f14 [2023-04-20T21:01:50.805Z] $ docker rm -f --volumes 96adda0dc4663be2b7db2cd9e3c829645c650427674e826aa732648e1e9f0f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:01:51.547Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-20T21:01:51.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:01:51.697Z] prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container [2023-04-20T21:01:51.725Z] $ 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-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-20T21:01:52.031Z] $ docker top c7426c80df219302abfcf6ca580a6849cef61fc79118456b41ecf6a8d9c28f4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T21:01:52.431Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-296 [Pipeline] fileExists [Pipeline] sh [2023-04-20T21:01:52.792Z] + make test [2023-04-20T21:01:52.792Z] go test ./... -coverprofile=coverage.out ./... [2023-04-20T21:01:58.064Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-20T21:02:08.037Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-20T21:02:08.037Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements [2023-04-20T21:02:14.616Z] go vet ./... [2023-04-20T21:02:17.901Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-20T21:02:17.901Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-20T21:02:17.901Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-20T21:02:17.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-20T21:02:17.973Z] $ docker stop --time=1 c7426c80df219302abfcf6ca580a6849cef61fc79118456b41ecf6a8d9c28f4c [2023-04-20T21:02:20.810Z] $ docker rm -f --volumes c7426c80df219302abfcf6ca580a6849cef61fc79118456b41ecf6a8d9c28f4c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-20T21:02:21.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-20T21:02:21.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-20T21:02:22.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-20T21:02:22.686Z] + ls -al . [2023-04-20T21:02:22.686Z] total 184 [2023-04-20T21:02:22.686Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 21:01 . [2023-04-20T21:02:22.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:00 .. [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 20 21:00 .dockerignore [2023-04-20T21:02:22.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 21:00 .git [2023-04-20T21:02:22.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:00 .github [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 21:00 .gitignore [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 21:00 .golangci.yml [2023-04-20T21:02:22.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 21:00 .semver [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 20 21:00 Attribution.txt [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 20 21:00 CHANGELOG.md [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 20 21:00 Dockerfile [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 21:00 GOVERNANCE.md [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 20 21:00 Jenkinsfile [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 21:00 LICENSE [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 20 21:00 Makefile [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 21:00 OWNERS.md [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 20 21:00 README.md [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 21:00 VERSION [2023-04-20T21:02:22.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:00 bin [2023-04-20T21:02:22.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:00 cmd [2023-04-20T21:02:22.686Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 20 21:02 coverage.out [2023-04-20T21:02:22.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:00 driver [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 20 21:00 go.mod [2023-04-20T21:02:22.686Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 20 21:00 go.sum [2023-04-20T21:02:22.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:00 snap [2023-04-20T21:02:22.687Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 20 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:02:23.085Z] + 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=8c4fca19395fb2ff4115de08003bb99245d7ba5d --label arch=amd64 --label version=0.0.0 . [2023-04-20T21:02:23.085Z] Sending build context to Docker daemon 10.92MB [2023-04-20T21:02:23.085Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T21:02:23.085Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-20T21:02:23.085Z] ---> 48dea4c6ad99 [2023-04-20T21:02:23.085Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-20T21:02:23.346Z] ---> Running in f84ea136937b [2023-04-20T21:02:23.346Z] Removing intermediate container f84ea136937b [2023-04-20T21:02:23.346Z] ---> f53a6ba40c80 [2023-04-20T21:02:23.346Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-20T21:02:23.346Z] ---> Running in 3e27ee729317 [2023-04-20T21:02:23.346Z] Removing intermediate container 3e27ee729317 [2023-04-20T21:02:23.346Z] ---> ab678f2ddf8f [2023-04-20T21:02:23.346Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-20T21:02:23.346Z] ---> Running in 095b52b34033 [2023-04-20T21:02:23.610Z] Removing intermediate container 095b52b34033 [2023-04-20T21:02:23.610Z] ---> 72bda44a246e [2023-04-20T21:02:23.610Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-20T21:02:23.610Z] ---> Running in 919287ddb58f [2023-04-20T21:02:23.610Z] Removing intermediate container 919287ddb58f [2023-04-20T21:02:23.610Z] ---> b71cdeda52f2 [2023-04-20T21:02:23.610Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-20T21:02:23.610Z] ---> Running in 539824e90118 [2023-04-20T21:02:23.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-20T21:02:24.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-20T21:02:24.392Z] OK: 269 MiB in 57 packages [2023-04-20T21:02:24.652Z] Removing intermediate container 539824e90118 [2023-04-20T21:02:24.652Z] ---> 6a0f68632503 [2023-04-20T21:02:24.652Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-20T21:02:24.652Z] ---> Running in 6162ff93824e [2023-04-20T21:02:24.652Z] Removing intermediate container 6162ff93824e [2023-04-20T21:02:24.652Z] ---> 9c461ab30f57 [2023-04-20T21:02:24.652Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-20T21:02:24.913Z] ---> 2f92e670463b [2023-04-20T21:02:24.913Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T21:02:24.913Z] ---> Running in 309c20e5db43 [2023-04-20T21:02:25.484Z] Removing intermediate container 309c20e5db43 [2023-04-20T21:02:25.484Z] ---> 88f35cef01d0 [2023-04-20T21:02:25.484Z] Step 11/25 : COPY . . [2023-04-20T21:02:26.051Z] ---> da6b676a9882 [2023-04-20T21:02:26.051Z] Step 12/25 : RUN $MAKE [2023-04-20T21:02:26.051Z] ---> Running in 0d469a184925 [2023-04-20T21:02:26.312Z] 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-04-20T21:02:48.267Z] Removing intermediate container 0d469a184925 [2023-04-20T21:02:48.267Z] ---> 442ee24863f5 [2023-04-20T21:02:48.267Z] Step 13/25 : FROM alpine:3.17 [2023-04-20T21:02:48.267Z] 3.17: Pulling from library/alpine [2023-04-20T21:02:48.267Z] f56be85fc22e: Pulling fs layer [2023-04-20T21:02:48.267Z] f56be85fc22e: Verifying Checksum [2023-04-20T21:02:48.267Z] f56be85fc22e: Download complete [2023-04-20T21:02:48.267Z] f56be85fc22e: Pull complete [2023-04-20T21:02:48.267Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-20T21:02:48.267Z] Status: Downloaded newer image for alpine:3.17 [2023-04-20T21:02:48.267Z] ---> 9ed4aefc74f6 [2023-04-20T21:02:48.267Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-20T21:02:48.267Z] ---> Running in bcd8256566ce [2023-04-20T21:02:48.267Z] Removing intermediate container bcd8256566ce [2023-04-20T21:02:48.267Z] ---> 9599bb431e02 [2023-04-20T21:02:48.267Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-20T21:02:48.267Z] ---> Running in 3ff84296dc75 [2023-04-20T21:02:48.267Z] Removing intermediate container 3ff84296dc75 [2023-04-20T21:02:48.267Z] ---> 282988c44555 [2023-04-20T21:02:48.267Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-20T21:02:48.267Z] ---> Running in e8afca6121bc [2023-04-20T21:02:48.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-20T21:02:48.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-20T21:02:48.267Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-20T21:02:48.267Z] Executing busybox-1.35.0-r29.trigger [2023-04-20T21:02:48.267Z] OK: 7 MiB in 16 packages [2023-04-20T21:02:48.267Z] Removing intermediate container e8afca6121bc [2023-04-20T21:02:48.267Z] ---> 5e6e6de54be9 [2023-04-20T21:02:48.267Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-20T21:02:48.267Z] ---> be76a7bfacaa [2023-04-20T21:02:48.267Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-20T21:02:48.267Z] ---> 303061345583 [2023-04-20T21:02:48.267Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-20T21:02:48.267Z] ---> 28e71e1bb5f5 [2023-04-20T21:02:48.267Z] Step 20/25 : EXPOSE 59986 [2023-04-20T21:02:48.267Z] ---> Running in 66c525ca3ed9 [2023-04-20T21:02:48.267Z] Removing intermediate container 66c525ca3ed9 [2023-04-20T21:02:48.267Z] ---> bf2cb721e8ab [2023-04-20T21:02:48.267Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-20T21:02:48.267Z] ---> Running in f4d177e42ad5 [2023-04-20T21:02:48.267Z] Removing intermediate container f4d177e42ad5 [2023-04-20T21:02:48.267Z] ---> 8215f8c70666 [2023-04-20T21:02:48.267Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-20T21:02:48.267Z] ---> Running in c615770afbfb [2023-04-20T21:02:48.267Z] Removing intermediate container c615770afbfb [2023-04-20T21:02:48.267Z] ---> 55b3532ef11c [2023-04-20T21:02:48.267Z] Step 23/25 : LABEL arch=amd64 [2023-04-20T21:02:48.267Z] ---> Running in 5239d67aa3ec [2023-04-20T21:02:48.267Z] Removing intermediate container 5239d67aa3ec [2023-04-20T21:02:48.267Z] ---> 36dc7794756e [2023-04-20T21:02:48.267Z] Step 24/25 : LABEL git_sha=8c4fca19395fb2ff4115de08003bb99245d7ba5d [2023-04-20T21:02:48.267Z] ---> Running in a03718bf9304 [2023-04-20T21:02:48.267Z] Removing intermediate container a03718bf9304 [2023-04-20T21:02:48.267Z] ---> 2fe8ea70fdc8 [2023-04-20T21:02:48.267Z] Step 25/25 : LABEL version=0.0.0 [2023-04-20T21:02:48.267Z] ---> Running in a898dff70737 [2023-04-20T21:02:48.267Z] Removing intermediate container a898dff70737 [2023-04-20T21:02:48.267Z] ---> e79387784bd6 [2023-04-20T21:02:48.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-20T21:02:48.267Z] Successfully built e79387784bd6 [2023-04-20T21:02:48.267Z] 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-04-20T21:02:49.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T21:02:49.167Z] [2023-04-20T21:02:49.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:02:49.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T21:02:49.538Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-20T21:02:49.538Z] 5eb5b503b376: Pulling fs layer [2023-04-20T21:02:49.538Z] 5c69ac0246d0: Pulling fs layer [2023-04-20T21:02:49.538Z] ec43610c2a17: Pulling fs layer [2023-04-20T21:02:49.538Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-20T21:02:49.538Z] 33b1e0a273af: Pulling fs layer [2023-04-20T21:02:49.538Z] 5d3b04190fa2: Pulling fs layer [2023-04-20T21:02:49.538Z] 2f39f015ded8: Pulling fs layer [2023-04-20T21:02:49.538Z] 3a2ae6a8a46f: Waiting [2023-04-20T21:02:49.538Z] 33b1e0a273af: Waiting [2023-04-20T21:02:49.538Z] 5d3b04190fa2: Waiting [2023-04-20T21:02:49.538Z] 5c69ac0246d0: Verifying Checksum [2023-04-20T21:02:49.538Z] 5c69ac0246d0: Download complete [2023-04-20T21:02:49.538Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-20T21:02:49.538Z] 3a2ae6a8a46f: Download complete [2023-04-20T21:02:49.538Z] ec43610c2a17: Verifying Checksum [2023-04-20T21:02:49.538Z] ec43610c2a17: Download complete [2023-04-20T21:02:49.538Z] 33b1e0a273af: Verifying Checksum [2023-04-20T21:02:49.538Z] 33b1e0a273af: Download complete [2023-04-20T21:02:49.538Z] 5d3b04190fa2: Verifying Checksum [2023-04-20T21:02:49.538Z] 5d3b04190fa2: Download complete [2023-04-20T21:02:49.797Z] 5eb5b503b376: Verifying Checksum [2023-04-20T21:02:49.797Z] 5eb5b503b376: Download complete [2023-04-20T21:02:50.367Z] 2f39f015ded8: Download complete [2023-04-20T21:02:50.941Z] 5eb5b503b376: Pull complete [2023-04-20T21:02:51.205Z] 5c69ac0246d0: Pull complete [2023-04-20T21:02:51.465Z] ec43610c2a17: Pull complete [2023-04-20T21:02:51.465Z] 3a2ae6a8a46f: Pull complete [2023-04-20T21:02:51.725Z] 33b1e0a273af: Pull complete [2023-04-20T21:02:51.725Z] 5d3b04190fa2: Pull complete [2023-04-20T21:02:55.913Z] 2f39f015ded8: Pull complete [2023-04-20T21:02:55.913Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-20T21:02:55.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T21:02:55.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:02:56.153Z] prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container [2023-04-20T21:02:56.186Z] $ 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-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-20T21:02:59.545Z] $ docker top fb5032ec789c687bd119489fb5b64907eaf5225c211ef88e37132100538fb4da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:03:00.020Z] ---> job-cost.sh [2023-04-20T21:03:00.020Z] lf-activate-venv: SKIPPING [2023-04-20T21:03:00.020Z] INFO: No Stack... [2023-04-20T21:03:00.280Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-20T21:03:00.539Z] INFO: Archiving Costs [Pipeline] sh [2023-04-20T21:03:00.860Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-296/archives/cost.csv [2023-04-20T21:03:00.860Z] + cut -d, -f6 [Pipeline] lock [2023-04-20T21:03:00.903Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [2023-04-20T21:03:00.910Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] did not exist. Created. [2023-04-20T21:03:00.910Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-20T21:03:01.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-20T21:03:01.354Z] Stashed 1 file(s) [Pipeline] } [2023-04-20T21:03:01.387Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-20T21:03:01.461Z] $ docker stop --time=1 fb5032ec789c687bd119489fb5b64907eaf5225c211ef88e37132100538fb4da [2023-04-20T21:03:02.609Z] $ docker rm -f --volumes fb5032ec789c687bd119489fb5b64907eaf5225c211ef88e37132100538fb4da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-20T21:04:39.739Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9213 in /w/workspace/gexfoundry_device-rest-go_PR-296 [Pipeline] { [Pipeline] ws [2023-04-20T21:04:39.792Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-20T21:04:39.875Z] The recommended git tool is: git [2023-04-20T21:04:45.896Z] using credential edgex-jenkins-ssh [2023-04-20T21:04:45.915Z] Cloning the remote Git repository [2023-04-20T21:04:45.971Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-20T21:04:46.078Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-20T21:04:46.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-20T21:04:46.254Z] > git --version # timeout=10 [2023-04-20T21:04:46.277Z] > git --version # 'git version 2.25.1' [2023-04-20T21:04:46.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-20T21:04:46.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-20T21:04:48.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-20T21:04:48.428Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-20T21:04:49.952Z] Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 8c4fca19395fb2ff4115de08003bb99245d7ba5d [2023-04-20T21:04:49.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-20T21:04:49.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-20T21:04:49.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-20T21:04:49.457Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-20T21:04:49.976Z] > git config core.sparsecheckout # timeout=10 [2023-04-20T21:04:50.064Z] > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # timeout=10 [2023-04-20T21:04:50.245Z] Merge succeeded, producing 8c4fca19395fb2ff4115de08003bb99245d7ba5d [2023-04-20T21:04:50.245Z] Checking out Revision 8c4fca19395fb2ff4115de08003bb99245d7ba5d (PR-296) [2023-04-20T21:04:50.758Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-20T21:04:50.824Z] > git --version # timeout=10 [2023-04-20T21:04:50.844Z] > git --version # 'git version 2.25.1' [2023-04-20T21:04:50.862Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-20T21:04:50.148Z] > git remote # timeout=10 [2023-04-20T21:04:50.170Z] > git config --get remote.origin.url # timeout=10 [2023-04-20T21:04:50.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-20T21:04:50.199Z] > git merge 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 [2023-04-20T21:04:50.229Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-20T21:04:50.254Z] > git config core.sparsecheckout # timeout=10 [2023-04-20T21:04:50.272Z] > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # timeout=10 [2023-04-20T21:04:52.103Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-20T21:04:52.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-20T21:04:52.103Z] Dload Upload Total Spent Left Speed [2023-04-20T21:04:52.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh [2023-04-20T21:04:52.802Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-20T21:04:53.151Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-20T21:04:53.151Z] + sudo tee /etc/docker/daemon.new [2023-04-20T21:04:53.151Z] { [2023-04-20T21:04:53.151Z] "registry-mirrors": [ [2023-04-20T21:04:53.151Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-20T21:04:53.151Z] ], [2023-04-20T21:04:53.151Z] "bip": "10.250.0.254/24", [2023-04-20T21:04:53.151Z] "hosts": [ [2023-04-20T21:04:53.151Z] "tcp://0.0.0.0:5555", [2023-04-20T21:04:53.151Z] "unix:///var/run/docker.sock" [2023-04-20T21:04:53.151Z] ], [2023-04-20T21:04:53.151Z] "mtu": 1458, [2023-04-20T21:04:53.151Z] "selinux-enabled": true, [2023-04-20T21:04:53.151Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-20T21:04:53.151Z] } [Pipeline] sh [2023-04-20T21:04:53.495Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-20T21:04:53.843Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-20T21:05:16.037Z] provisioning config files... [2023-04-20T21:05:16.066Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15336683175750647031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:05:16.467Z] ---> docker-login.sh [2023-04-20T21:05:16.467Z] nexus3.edgexfoundry.org:10001 [2023-04-20T21:05:17.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:05:18.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:05:18.478Z] Configure a credential helper to remove this warning. See [2023-04-20T21:05:18.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:05:18.478Z] [2023-04-20T21:05:18.478Z] Login Succeeded [2023-04-20T21:05:18.478Z] nexus3.edgexfoundry.org:10002 [2023-04-20T21:05:18.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:05:19.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:05:19.022Z] Configure a credential helper to remove this warning. See [2023-04-20T21:05:19.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:05:19.022Z] [2023-04-20T21:05:19.022Z] Login Succeeded [2023-04-20T21:05:19.022Z] nexus3.edgexfoundry.org:10003 [2023-04-20T21:05:19.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:05:19.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:05:19.292Z] Configure a credential helper to remove this warning. See [2023-04-20T21:05:19.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:05:19.292Z] [2023-04-20T21:05:19.292Z] Login Succeeded [2023-04-20T21:05:19.292Z] nexus3.edgexfoundry.org:10004 [2023-04-20T21:05:19.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:05:19.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:05:19.563Z] Configure a credential helper to remove this warning. See [2023-04-20T21:05:19.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:05:19.563Z] [2023-04-20T21:05:19.563Z] Login Succeeded [2023-04-20T21:05:19.563Z] docker.io [2023-04-20T21:05:19.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T21:05:20.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T21:05:20.103Z] Configure a credential helper to remove this warning. See [2023-04-20T21:05:20.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T21:05:20.103Z] [2023-04-20T21:05:20.103Z] Login Succeeded [2023-04-20T21:05:20.103Z] ---> docker-login.sh ends [Pipeline] } [2023-04-20T21:05:20.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-20T21:05:20.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T21:05:20.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T21:05:20.619Z] ========================================================= [2023-04-20T21:05:20.619Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-20T21:05:20.619Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:05:21.137Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-20T21:05:21.137Z] Sending build context to Docker daemon 138.8kB [2023-04-20T21:05:21.408Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T21:05:21.408Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-20T21:05:21.681Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-20T21:05:21.681Z] af6eaf76a39c: Pulling fs layer [2023-04-20T21:05:21.681Z] 55522c791124: Pulling fs layer [2023-04-20T21:05:21.681Z] ce5c4a1c91eb: Pulling fs layer [2023-04-20T21:05:21.681Z] 169dfbe0d373: Pulling fs layer [2023-04-20T21:05:21.681Z] e1ff8fa3b103: Pulling fs layer [2023-04-20T21:05:21.681Z] 52ebb69f0ebf: Pulling fs layer [2023-04-20T21:05:21.681Z] 5abe8eddf0d5: Pulling fs layer [2023-04-20T21:05:21.681Z] 169dfbe0d373: Waiting [2023-04-20T21:05:21.681Z] e1ff8fa3b103: Waiting [2023-04-20T21:05:21.681Z] 52ebb69f0ebf: Waiting [2023-04-20T21:05:21.681Z] 5abe8eddf0d5: Waiting [2023-04-20T21:05:21.681Z] 55522c791124: Verifying Checksum [2023-04-20T21:05:21.681Z] 55522c791124: Download complete [2023-04-20T21:05:21.681Z] 169dfbe0d373: Verifying Checksum [2023-04-20T21:05:21.681Z] 169dfbe0d373: Download complete [2023-04-20T21:05:21.681Z] e1ff8fa3b103: Verifying Checksum [2023-04-20T21:05:21.681Z] e1ff8fa3b103: Download complete [2023-04-20T21:05:21.681Z] af6eaf76a39c: Verifying Checksum [2023-04-20T21:05:22.662Z] af6eaf76a39c: Pull complete [2023-04-20T21:05:22.662Z] 5abe8eddf0d5: Verifying Checksum [2023-04-20T21:05:22.662Z] 5abe8eddf0d5: Download complete [2023-04-20T21:05:23.263Z] 55522c791124: Pull complete [2023-04-20T21:05:24.233Z] ce5c4a1c91eb: Verifying Checksum [2023-04-20T21:05:24.233Z] ce5c4a1c91eb: Download complete [2023-04-20T21:05:24.233Z] 52ebb69f0ebf: Verifying Checksum [2023-04-20T21:05:24.233Z] 52ebb69f0ebf: Download complete [2023-04-20T21:05:36.785Z] ce5c4a1c91eb: Pull complete [2023-04-20T21:05:36.785Z] 169dfbe0d373: Pull complete [2023-04-20T21:05:36.785Z] e1ff8fa3b103: Pull complete [2023-04-20T21:05:43.520Z] 52ebb69f0ebf: Pull complete [2023-04-20T21:05:44.943Z] 5abe8eddf0d5: Pull complete [2023-04-20T21:05:45.212Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-20T21:05:45.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-20T21:05:45.212Z] ---> 6cb57ee374ae [2023-04-20T21:05:45.212Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-20T21:05:46.186Z] ---> Running in 48e2a283435a [2023-04-20T21:05:46.457Z] Removing intermediate container 48e2a283435a [2023-04-20T21:05:46.457Z] ---> 802a4ff0dc30 [2023-04-20T21:05:46.457Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-20T21:05:46.726Z] ---> Running in c066dc841794 [2023-04-20T21:05:46.997Z] Removing intermediate container c066dc841794 [2023-04-20T21:05:46.997Z] ---> cfa3bf3e9f7f [2023-04-20T21:05:46.997Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-20T21:05:46.997Z] ---> Running in e08b35d6466c [2023-04-20T21:05:47.585Z] Removing intermediate container e08b35d6466c [2023-04-20T21:05:47.585Z] ---> 76bdca4a457b [2023-04-20T21:05:47.585Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-20T21:05:47.585Z] ---> Running in d24e03978a96 [2023-04-20T21:05:47.854Z] Removing intermediate container d24e03978a96 [2023-04-20T21:05:47.854Z] ---> 082c11d82739 [2023-04-20T21:05:47.854Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-20T21:05:47.854Z] ---> Running in c6131c685a2e [2023-04-20T21:05:49.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-20T21:05:49.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-20T21:05:50.507Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-20T21:05:50.507Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-20T21:05:50.507Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-20T21:05:50.779Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-20T21:05:50.779Z] Executing busybox-1.35.0-r29.trigger [2023-04-20T21:05:50.779Z] OK: 268 MiB in 57 packages [2023-04-20T21:05:51.758Z] Removing intermediate container c6131c685a2e [2023-04-20T21:05:51.758Z] ---> 39b31ce91082 [2023-04-20T21:05:51.758Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-20T21:05:51.758Z] ---> Running in 95e74960986c [2023-04-20T21:05:52.028Z] Removing intermediate container 95e74960986c [2023-04-20T21:05:52.028Z] ---> f98e3038a887 [2023-04-20T21:05:52.028Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-20T21:05:52.617Z] ---> 9646466ed045 [2023-04-20T21:05:52.617Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T21:05:52.886Z] ---> Running in 72269c05dccd [2023-04-20T21:07:14.554Z] Removing intermediate container 72269c05dccd [2023-04-20T21:07:14.554Z] ---> cf9286304921 [2023-04-20T21:07:14.554Z] Step 11/12 : COPY . . [2023-04-20T21:07:14.554Z] ---> 7c6b9a150584 [2023-04-20T21:07:14.554Z] Step 12/12 : RUN $MAKE [2023-04-20T21:07:14.554Z] ---> Running in 26d1595826ee [2023-04-20T21:07:14.554Z] noop [2023-04-20T21:07:14.554Z] Removing intermediate container 26d1595826ee [2023-04-20T21:07:14.554Z] ---> 6236b4937125 [2023-04-20T21:07:14.554Z] Successfully built 6236b4937125 [2023-04-20T21:07:14.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:07:15.044Z] + docker inspect -f . ci-base-image-arm64 [2023-04-20T21:07:15.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:07:15.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container [2023-04-20T21:07:15.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-20T21:07:16.753Z] $ docker top d98afa7a72e246dc4f7925910d15dc5f54d952b6525249a5dc94e7a508a911c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T21:07:17.658Z] + go version [2023-04-20T21:07:17.658Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-20T21:07:17.691Z] $ docker stop --time=1 d98afa7a72e246dc4f7925910d15dc5f54d952b6525249a5dc94e7a508a911c2 [2023-04-20T21:07:19.334Z] $ docker rm -f --volumes d98afa7a72e246dc4f7925910d15dc5f54d952b6525249a5dc94e7a508a911c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:07:20.222Z] + docker inspect -f . ci-base-image-arm64 [2023-04-20T21:07:20.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:07:20.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container [2023-04-20T21:07:20.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-20T21:07:23.827Z] $ docker top 3fd64c8a46cbd9a6d12353a495cf30e2a8a1b4b08e5b9ef731e34dd798cda004 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T21:07:24.725Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-20T21:07:25.446Z] + make test [2023-04-20T21:07:25.446Z] go test ./... -coverprofile=coverage.out ./... [2023-04-20T21:08:04.384Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-20T21:10:11.132Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-20T21:10:11.132Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements [2023-04-20T21:10:11.132Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-20T21:10:11.132Z] go vet ./... [2023-04-20T21:10:33.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-20T21:10:33.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-20T21:10:33.238Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-20T21:10:33.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-20T21:10:33.316Z] $ docker stop --time=1 3fd64c8a46cbd9a6d12353a495cf30e2a8a1b4b08e5b9ef731e34dd798cda004 [2023-04-20T21:10:35.157Z] $ docker rm -f --volumes 3fd64c8a46cbd9a6d12353a495cf30e2a8a1b4b08e5b9ef731e34dd798cda004 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-20T21:10:36.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-20T21:10:36.414Z] Warning: overwriting stash ‘coverage-report’ [2023-04-20T21:10:36.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-20T21:10:37.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-20T21:10:37.839Z] + ls -al . [2023-04-20T21:10:37.839Z] total 180 [2023-04-20T21:10:37.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 21:07 . [2023-04-20T21:10:37.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:04 .. [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 20 21:04 .dockerignore [2023-04-20T21:10:37.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 21:04 .git [2023-04-20T21:10:37.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:04 .github [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 21:04 .gitignore [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 21:04 .golangci.yml [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 20 21:04 Attribution.txt [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 20 21:04 CHANGELOG.md [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 20 21:04 Dockerfile [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 21:04 GOVERNANCE.md [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 20 21:04 Jenkinsfile [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 21:04 LICENSE [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 20 21:04 Makefile [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 21:04 OWNERS.md [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 20 21:04 README.md [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 21:00 VERSION [2023-04-20T21:10:37.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:04 bin [2023-04-20T21:10:37.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:04 cmd [2023-04-20T21:10:37.839Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 20 21:10 coverage.out [2023-04-20T21:10:37.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:04 driver [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 20 21:04 go.mod [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 20 21:04 go.sum [2023-04-20T21:10:37.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:04 snap [2023-04-20T21:10:37.839Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 20 21:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:10:38.252Z] + 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=8c4fca19395fb2ff4115de08003bb99245d7ba5d --label arch=arm64 --label version=0.0.0 . [2023-04-20T21:10:38.252Z] Sending build context to Docker daemon 154.1kB [2023-04-20T21:10:38.520Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T21:10:38.520Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-20T21:10:38.520Z] ---> 6236b4937125 [2023-04-20T21:10:38.520Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-20T21:10:38.520Z] ---> Running in 6d589f38fa63 [2023-04-20T21:10:38.790Z] Removing intermediate container 6d589f38fa63 [2023-04-20T21:10:38.790Z] ---> 65fa3884af5f [2023-04-20T21:10:38.790Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-20T21:10:39.059Z] ---> Running in 275bcebc16dc [2023-04-20T21:10:39.326Z] Removing intermediate container 275bcebc16dc [2023-04-20T21:10:39.326Z] ---> 6b63a0b073b6 [2023-04-20T21:10:39.326Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-20T21:10:39.326Z] ---> Running in fd785088312d [2023-04-20T21:10:39.594Z] Removing intermediate container fd785088312d [2023-04-20T21:10:39.594Z] ---> 32f370883285 [2023-04-20T21:10:39.594Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-20T21:10:39.594Z] ---> Running in e4cded45e365 [2023-04-20T21:10:39.871Z] Removing intermediate container e4cded45e365 [2023-04-20T21:10:39.871Z] ---> a1882f6b5450 [2023-04-20T21:10:39.871Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-20T21:10:40.140Z] ---> Running in 3ca5992dbf5c [2023-04-20T21:10:41.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-20T21:10:42.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-20T21:10:43.055Z] OK: 268 MiB in 57 packages [2023-04-20T21:10:44.470Z] Removing intermediate container 3ca5992dbf5c [2023-04-20T21:10:44.470Z] ---> 9540e836c348 [2023-04-20T21:10:44.470Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-20T21:10:44.742Z] ---> Running in ea4f9aaac0e1 [2023-04-20T21:10:45.011Z] Removing intermediate container ea4f9aaac0e1 [2023-04-20T21:10:45.011Z] ---> 4d4b9650a490 [2023-04-20T21:10:45.011Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-20T21:10:45.596Z] ---> 83619ce96c39 [2023-04-20T21:10:45.596Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T21:10:45.596Z] ---> Running in 9e4775f0d5c8 [2023-04-20T21:10:48.195Z] Removing intermediate container 9e4775f0d5c8 [2023-04-20T21:10:48.195Z] ---> 0aea2add154b [2023-04-20T21:10:48.195Z] Step 11/25 : COPY . . [2023-04-20T21:10:48.783Z] ---> 541568161e86 [2023-04-20T21:10:48.783Z] Step 12/25 : RUN $MAKE [2023-04-20T21:10:48.783Z] ---> Running in 2dc2d042a6ac [2023-04-20T21:10:49.756Z] 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-04-20T21:13:11.563Z] Removing intermediate container 2dc2d042a6ac [2023-04-20T21:13:11.563Z] ---> 35179d7fa921 [2023-04-20T21:13:11.563Z] Step 13/25 : FROM alpine:3.17 [2023-04-20T21:13:11.563Z] 3.17: Pulling from library/alpine [2023-04-20T21:13:11.563Z] c41833b44d91: Pulling fs layer [2023-04-20T21:13:11.563Z] c41833b44d91: Download complete [2023-04-20T21:13:11.563Z] c41833b44d91: Pull complete [2023-04-20T21:13:11.563Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-20T21:13:11.563Z] Status: Downloaded newer image for alpine:3.17 [2023-04-20T21:13:11.563Z] ---> 51e60588ff2c [2023-04-20T21:13:11.563Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-20T21:13:11.563Z] ---> Running in 93e4dadb203a [2023-04-20T21:13:11.564Z] Removing intermediate container 93e4dadb203a [2023-04-20T21:13:11.564Z] ---> f17ef92cfac5 [2023-04-20T21:13:11.564Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-20T21:13:11.564Z] ---> Running in b259ea29dc1b [2023-04-20T21:13:11.564Z] Removing intermediate container b259ea29dc1b [2023-04-20T21:13:11.564Z] ---> f015c23afe1d [2023-04-20T21:13:11.564Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-20T21:13:11.564Z] ---> Running in b28eae7a2350 [2023-04-20T21:13:11.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-20T21:13:11.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-20T21:13:11.564Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-20T21:13:11.564Z] Executing busybox-1.35.0-r29.trigger [2023-04-20T21:13:11.564Z] OK: 8 MiB in 16 packages [2023-04-20T21:13:11.564Z] Removing intermediate container b28eae7a2350 [2023-04-20T21:13:11.564Z] ---> c833c610aac9 [2023-04-20T21:13:11.564Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-20T21:13:11.564Z] ---> db35b97de4ca [2023-04-20T21:13:11.564Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-20T21:13:11.564Z] ---> 8c79e696566c [2023-04-20T21:13:11.564Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-20T21:13:11.564Z] ---> abc138157cae [2023-04-20T21:13:11.564Z] Step 20/25 : EXPOSE 59986 [2023-04-20T21:13:11.564Z] ---> Running in 83efb9bac709 [2023-04-20T21:13:11.835Z] Removing intermediate container 83efb9bac709 [2023-04-20T21:13:11.835Z] ---> d99a55de07cf [2023-04-20T21:13:11.835Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-20T21:13:11.835Z] ---> Running in 17313a0ae729 [2023-04-20T21:13:12.103Z] Removing intermediate container 17313a0ae729 [2023-04-20T21:13:12.103Z] ---> 1485fd3a2c60 [2023-04-20T21:13:12.103Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-20T21:13:12.372Z] ---> Running in 31795612d9e0 [2023-04-20T21:13:12.639Z] Removing intermediate container 31795612d9e0 [2023-04-20T21:13:12.639Z] ---> d2f32d14de76 [2023-04-20T21:13:12.639Z] Step 23/25 : LABEL arch=arm64 [2023-04-20T21:13:12.639Z] ---> Running in a63f65567218 [2023-04-20T21:13:12.910Z] Removing intermediate container a63f65567218 [2023-04-20T21:13:12.910Z] ---> 3f63343950be [2023-04-20T21:13:12.910Z] Step 24/25 : LABEL git_sha=8c4fca19395fb2ff4115de08003bb99245d7ba5d [2023-04-20T21:13:13.179Z] ---> Running in 391807402a34 [2023-04-20T21:13:13.449Z] Removing intermediate container 391807402a34 [2023-04-20T21:13:13.449Z] ---> 5caab072ec65 [2023-04-20T21:13:13.449Z] Step 25/25 : LABEL version=0.0.0 [2023-04-20T21:13:13.449Z] ---> Running in a9d3c0c9229d [2023-04-20T21:13:13.717Z] Removing intermediate container a9d3c0c9229d [2023-04-20T21:13:13.717Z] ---> 7815efe55dc0 [2023-04-20T21:13:13.717Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-20T21:13:13.717Z] Successfully built 7815efe55dc0 [2023-04-20T21:13:13.717Z] 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-04-20T21:13:14.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-20T21:13:14.579Z] [2023-04-20T21:13:14.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:13:14.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-20T21:13:14.982Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-20T21:13:14.982Z] 8998bd30e6a1: Pulling fs layer [2023-04-20T21:13:14.982Z] 04944245beec: Pulling fs layer [2023-04-20T21:13:14.982Z] 699f458cf7ca: Pulling fs layer [2023-04-20T21:13:14.982Z] 765212b225bb: Pulling fs layer [2023-04-20T21:13:14.982Z] f23df028b6ca: Pulling fs layer [2023-04-20T21:13:14.982Z] d65c8cfc05b1: Pulling fs layer [2023-04-20T21:13:14.982Z] 2437ff75d9bd: Pulling fs layer [2023-04-20T21:13:14.982Z] f23df028b6ca: Waiting [2023-04-20T21:13:14.982Z] d65c8cfc05b1: Waiting [2023-04-20T21:13:14.982Z] 2437ff75d9bd: Waiting [2023-04-20T21:13:14.982Z] 765212b225bb: Waiting [2023-04-20T21:13:15.254Z] 04944245beec: Verifying Checksum [2023-04-20T21:13:15.254Z] 04944245beec: Download complete [2023-04-20T21:13:15.254Z] 765212b225bb: Verifying Checksum [2023-04-20T21:13:15.254Z] 765212b225bb: Download complete [2023-04-20T21:13:15.254Z] f23df028b6ca: Verifying Checksum [2023-04-20T21:13:15.254Z] f23df028b6ca: Download complete [2023-04-20T21:13:15.254Z] d65c8cfc05b1: Verifying Checksum [2023-04-20T21:13:15.254Z] d65c8cfc05b1: Download complete [2023-04-20T21:13:15.523Z] 699f458cf7ca: Verifying Checksum [2023-04-20T21:13:15.523Z] 699f458cf7ca: Download complete [2023-04-20T21:13:15.791Z] 8998bd30e6a1: Verifying Checksum [2023-04-20T21:13:15.791Z] 8998bd30e6a1: Download complete [2023-04-20T21:13:18.383Z] 2437ff75d9bd: Verifying Checksum [2023-04-20T21:13:18.383Z] 2437ff75d9bd: Download complete [2023-04-20T21:13:19.797Z] 8998bd30e6a1: Pull complete [2023-04-20T21:13:20.065Z] 04944245beec: Pull complete [2023-04-20T21:13:23.411Z] 699f458cf7ca: Pull complete [2023-04-20T21:13:23.411Z] 765212b225bb: Pull complete [2023-04-20T21:13:24.000Z] f23df028b6ca: Pull complete [2023-04-20T21:13:24.272Z] d65c8cfc05b1: Pull complete [2023-04-20T21:13:39.394Z] 2437ff75d9bd: Pull complete [2023-04-20T21:13:39.394Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-20T21:13:39.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-20T21:13:39.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:13:39.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container [2023-04-20T21:13:39.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-20T21:13:42.597Z] $ docker top 4748a1412e5ff88e6b8ee4cbfdb4954e0dd775fb1f795e53e5dadbb0800ae804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:43.584Z] ---> job-cost.sh [2023-04-20T21:13:43.584Z] lf-activate-venv: SKIPPING [2023-04-20T21:13:43.584Z] INFO: No Stack... [2023-04-20T21:13:44.170Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-20T21:13:44.757Z] INFO: Archiving Costs [Pipeline] sh [2023-04-20T21:13:45.684Z] + + catcut -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 [2023-04-20T21:13:45.684Z] [Pipeline] lock [2023-04-20T21:13:45.769Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [2023-04-20T21:13:45.774Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] did not exist. Created. [2023-04-20T21:13:45.774Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-20T21:13:46.176Z] /w/workspace/device-rest-go/1@tmp/durable-784f51e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-20T21:13:46.537Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-20T21:13:46.573Z] Warning: overwriting stash ‘stack-cost’ [2023-04-20T21:13:46.618Z] Stashed 1 file(s) [Pipeline] } [2023-04-20T21:13:46.634Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-20T21:13:46.706Z] $ docker stop --time=1 4748a1412e5ff88e6b8ee4cbfdb4954e0dd775fb1f795e53e5dadbb0800ae804 [2023-04-20T21:13:48.182Z] $ docker rm -f --volumes 4748a1412e5ff88e6b8ee4cbfdb4954e0dd775fb1f795e53e5dadbb0800ae804 [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-04-20T21:13:49.253Z] provisioning config files... [2023-04-20T21:13:49.260Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config220893392252452122tmp [Pipeline] { [Pipeline] sh [2023-04-20T21:13:49.590Z] + set +x [2023-04-20T21:13:49.590Z] + curl -s https://codecov.io/bash [2023-04-20T21:13:49.590Z] + bash -s -- [2023-04-20T21:13:49.590Z] [2023-04-20T21:13:49.590Z] _____ _ [2023-04-20T21:13:49.590Z] / ____| | | [2023-04-20T21:13:49.590Z] | | ___ __| | ___ ___ _____ __ [2023-04-20T21:13:49.590Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-20T21:13:49.590Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-20T21:13:49.590Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-20T21:13:49.590Z] Bash-1.0.6 [2023-04-20T21:13:49.590Z] [2023-04-20T21:13:49.590Z] [2023-04-20T21:13:49.590Z] ==> git version 2.25.1 found [2023-04-20T21:13:49.590Z] ==> 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-04-20T21:13:49.590Z] Release-Date: 2020-01-08 [2023-04-20T21:13:49.590Z] 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-04-20T21:13:49.590Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-20T21:13:49.590Z] ==> Jenkins CI detected. [2023-04-20T21:13:49.590Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-296 [2023-04-20T21:13:49.590Z] project root: . [2023-04-20T21:13:49.590Z] --> token set from env [2023-04-20T21:13:49.590Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-20T21:13:49.590Z] ==> Running gcov in . (disable via -X gcov) [2023-04-20T21:13:49.590Z] ==> Python coveragepy not found [2023-04-20T21:13:49.590Z] ==> Searching for coverage reports in: [2023-04-20T21:13:49.590Z] + . [2023-04-20T21:13:49.852Z] -> Found 1 reports [2023-04-20T21:13:49.852Z] ==> Detecting git/mercurial file structure [2023-04-20T21:13:49.852Z] ==> Reading reports [2023-04-20T21:13:49.852Z] + ./coverage.out bytes=14663 [2023-04-20T21:13:49.852Z] ==> Appending adjustments [2023-04-20T21:13:49.852Z] https://docs.codecov.io/docs/fixing-reports [2023-04-20T21:13:49.852Z] + Found adjustments [2023-04-20T21:13:49.852Z] ==> Gzipping contents [2023-04-20T21:13:49.852Z] 4.0K /tmp/codecov.p4V1W0.gz [2023-04-20T21:13:49.852Z] ==> Uploading reports [2023-04-20T21:13:49.852Z] url: https://codecov.io [2023-04-20T21:13:49.852Z] query: branch=PR-296&commit=8c4fca19395fb2ff4115de08003bb99245d7ba5d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=296&job=&cmd_args= [2023-04-20T21:13:49.852Z] -> Pinging Codecov [2023-04-20T21:13:49.852Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-296&commit=8c4fca19395fb2ff4115de08003bb99245d7ba5d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=296&job=&cmd_args= [2023-04-20T21:13:50.113Z] -> Uploading to [2023-04-20T21:13:50.113Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-20/4E5D53B4F1F92C436F7061BF334D961C/8c4fca19395fb2ff4115de08003bb99245d7ba5d/5e1c23bd-c651-4a79-aedb-25dbcbb54c9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T211349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f2583ef84cc2fd99bab8e586fd07ebc43681a434edc2f935ce7f37a5ded5d49 [2023-04-20T21:13:50.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-20T21:13:50.113Z] Dload Upload Total Spent Left Speed [2023-04-20T21:13:50.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10546 --:--:-- --:--:-- --:--:-- 10546 [2023-04-20T21:13:50.374Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] } [2023-04-20T21:13:50.406Z] 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-04-20T21:13:52.241Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-296/archives ] [2023-04-20T21:13:52.241Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-296/archives [2023-04-20T21:13:52.241Z] total 16 [2023-04-20T21:13:52.241Z] drwxr-xr-x 3 root root 4096 Apr 20 21:03 . [2023-04-20T21:13:52.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 21:03 .. [2023-04-20T21:13:52.241Z] drwxr-xr-x 2 root root 4096 Apr 20 21:03 cost [2023-04-20T21:13:52.241Z] -rw-r--r-- 1 root root 86 Apr 20 21:03 cost.csv [2023-04-20T21:13:52.241Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-296/archives [2023-04-20T21:13:52.241Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-296/archives [2023-04-20T21:13:52.241Z] total 16 [2023-04-20T21:13:52.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 21:03 . [2023-04-20T21:13:52.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 21:03 .. [2023-04-20T21:13:52.241Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 21:03 cost [2023-04-20T21:13:52.241Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 20 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:52.574Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:53.466Z] ---> package-listing.sh [2023-04-20T21:13:53.466Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-20T21:13:53.466Z] ++ facter osfamily [2023-04-20T21:13:53.727Z] + OS_FAMILY=debian [2023-04-20T21:13:53.727Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-296 [2023-04-20T21:13:53.727Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-20T21:13:53.727Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-20T21:13:53.727Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-20T21:13:53.727Z] + PACKAGES=/tmp/packages_start.txt [2023-04-20T21:13:53.727Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-296 ']' [2023-04-20T21:13:53.727Z] + PACKAGES=/tmp/packages_end.txt [2023-04-20T21:13:53.727Z] + case "${OS_FAMILY}" in [2023-04-20T21:13:53.727Z] + dpkg -l [2023-04-20T21:13:53.727Z] + grep '^ii' [2023-04-20T21:13:53.727Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-20T21:13:53.727Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-20T21:13:53.727Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-20T21:13:53.727Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-296 ']' [2023-04-20T21:13:53.727Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-296/archives/ [2023-04-20T21:13:53.727Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-296/archives/ [Pipeline] echo [2023-04-20T21:13:53.762Z] 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-296/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-20T21:13:54.054Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T21:13:54.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T21:13:54.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T21:13:54.838Z] prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container [2023-04-20T21:13:54.869Z] $ 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-296/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-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-20T21:13:55.072Z] $ docker top c0100d4e91bc83f598586e79132a3bbca1c75384a2d3fc0af230e2aadfcdc46d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T21:13:55.464Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-20T21:13:55.784Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-20T21:13:56.091Z] + ls /var/log/sa-host [2023-04-20T21:13:56.092Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-20T21:13:56.241Z] provisioning config files... [2023-04-20T21:13:56.250Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config15841290449311703518tmp [Pipeline] { [Pipeline] echo [2023-04-20T21:13:56.305Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:56.616Z] ---> create-netrc.sh [Pipeline] } [2023-04-20T21:13:56.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:57.055Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-20T21:13:57.090Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:57.405Z] ---> sudo-logs.sh [2023-04-20T21:13:57.405Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-20T21:13:57.493Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:57.807Z] ---> job-cost.sh [2023-04-20T21:13:57.807Z] lf-activate-venv: SKIPPING [2023-04-20T21:13:57.807Z] DEBUG: total: 0.2199999988079071 [2023-04-20T21:13:57.807Z] INFO: Retrieving Stack Cost... [2023-04-20T21:13:58.067Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-20T21:13:58.636Z] INFO: Archiving Costs [Pipeline] echo [2023-04-20T21:13:58.673Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T21:13:58.990Z] ---> logs-deploy.sh [2023-04-20T21:13:58.990Z] lf-activate-venv: SKIPPING [2023-04-20T21:13:58.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-296/1 [2023-04-20T21:13:58.990Z] INFO: archiving workspace using pattern(s): [2023-04-20T21:13:59.929Z] Archives upload complete. [2023-04-20T21:13:59.929Z] INFO: archiving logs to Nexus