Pull request #255 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 29588c2b6594ab0cf4b156290c074d63ced11da2+7f746f51e1ef244c01c4206344cb741c614a79d6 (801e953ead705456103ae006a30ce83671a8a71d) 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-ssh10832314506898306417.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5883566442395560512.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-255/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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7503415937464733899.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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14792905205417219088.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16406831385326207430.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-255/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-255/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15443842745466897530.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6491 in /w/workspace/gexfoundry_device-rest-go_PR-255 [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-255 # 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/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f746f51e1ef244c01c4206344cb741c614a79d6 into PR head commit 29588c2b6594ab0cf4b156290c074d63ced11da2 Merge succeeded, producing 29588c2b6594ab0cf4b156290c074d63ced11da2 Checking out Revision 29588c2b6594ab0cf4b156290c074d63ced11da2 (PR-255) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T19:24:50.041Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 29588c2b6594ab0cf4b156290c074d63ced11da2 # 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 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29588c2b6594ab0cf4b156290c074d63ced11da2 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T19:24:50.224Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T19:24:50.324Z] ========================================================= [2023-02-17T19:24:50.324Z] EdgeX Global Pipelines Version Info [2023-02-17T19:24:50.324Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:24:51.070Z] ------------------- [2023-02-17T19:24:51.070Z] stable info: [2023-02-17T19:24:51.070Z] ------------------- [2023-02-17T19:24:51.070Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T19:24:51.071Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T19:24:51.071Z] Message: update stable to v1.0.244 [2023-02-17T19:24:51.642Z] ------------------- [2023-02-17T19:24:51.642Z] experimental info: [2023-02-17T19:24:51.642Z] ------------------- [2023-02-17T19:24:51.642Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T19:24:51.642Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T19:24:51.642Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T19:24:51.928Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-17T19:24:51.976Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-17T19:24:52.011Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T19:24:52.049Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T19:24:52.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T19:24:52.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T19:24:52.158Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T19:24:52.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T19:24:52.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T19:24:52.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T19:24:52.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T19:24:52.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-17T19:24:52.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T19:24:52.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T19:24:52.445Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T19:24:52.482Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T19:24:52.522Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T19:24:52.559Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T19:24:52.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T19:24:52.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T19:24:52.683Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T19:24:52.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T19:24:52.761Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T19:24:52.800Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T19:24:52.842Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T19:24:52.885Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T19:24:52.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T19:24:52.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-255 [Pipeline] echo [2023-02-17T19:24:53.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-255 [Pipeline] echo [2023-02-17T19:24:53.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-255 [Pipeline] echo [2023-02-17T19:24:53.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29588c2b6594ab0cf4b156290c074d63ced11da2 [Pipeline] echo [2023-02-17T19:24:53.126Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29588c2 [Pipeline] echo [2023-02-17T19:24:53.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T19:24:53.280Z] provisioning config files... [2023-02-17T19:24:53.292Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-255@tmp/config11311157145952152221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:24:53.633Z] ---> docker-login.sh [2023-02-17T19:24:53.633Z] nexus3.edgexfoundry.org:10001 [2023-02-17T19:24:53.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:24:53.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:24:53.894Z] Configure a credential helper to remove this warning. See [2023-02-17T19:24:53.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:24:53.894Z] [2023-02-17T19:24:53.894Z] Login Succeeded [2023-02-17T19:24:53.894Z] nexus3.edgexfoundry.org:10002 [2023-02-17T19:24:54.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:24:54.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:24:54.161Z] Configure a credential helper to remove this warning. See [2023-02-17T19:24:54.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:24:54.161Z] [2023-02-17T19:24:54.161Z] Login Succeeded [2023-02-17T19:24:54.161Z] nexus3.edgexfoundry.org:10003 [2023-02-17T19:24:54.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:24:54.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:24:54.161Z] Configure a credential helper to remove this warning. See [2023-02-17T19:24:54.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:24:54.161Z] [2023-02-17T19:24:54.161Z] Login Succeeded [2023-02-17T19:24:54.161Z] nexus3.edgexfoundry.org:10004 [2023-02-17T19:24:54.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:24:54.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:24:54.422Z] Configure a credential helper to remove this warning. See [2023-02-17T19:24:54.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:24:54.422Z] [2023-02-17T19:24:54.422Z] Login Succeeded [2023-02-17T19:24:54.422Z] docker.io [2023-02-17T19:24:54.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:24:54.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:24:54.682Z] Configure a credential helper to remove this warning. See [2023-02-17T19:24:54.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:24:54.682Z] [2023-02-17T19:24:54.682Z] Login Succeeded [2023-02-17T19:24:54.682Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T19:24:54.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T19:24:55.385Z] + git rev-list -1 --merges 29588c2b6594ab0cf4b156290c074d63ced11da2~1..29588c2b6594ab0cf4b156290c074d63ced11da2 [Pipeline] echo [2023-02-17T19:24:55.447Z] -----------> git rev-list -1 --merges 29588c2b6594ab0cf4b156290c074d63ced11da2~1..29588c2b6594ab0cf4b156290c074d63ced11da2 29588c2b6594ab0cf4b156290c074d63ced11da2 [false] [Pipeline] sh [2023-02-17T19:24:55.753Z] + git log --format=format:%s -1 29588c2b6594ab0cf4b156290c074d63ced11da2 [Pipeline] echo [2023-02-17T19:24:55.786Z] ========================================================= [2023-02-17T19:24:55.786Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T19:24:55.786Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T19:24:56.215Z] + git log --format=format:%s -1 29588c2b6594ab0cf4b156290c074d63ced11da2 [Pipeline] echo [2023-02-17T19:24:56.247Z] [semverPrep] GIT_COMMIT: 29588c2b6594ab0cf4b156290c074d63ced11da2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-17T19:24:56.277Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T19:24:56.697Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T19:24:56.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T19:24:56.697Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T19:24:56.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T19:24:56.697Z] + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts [2023-02-17T19:24:56.697Z] [2023-02-17T19:24:56.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:24:57.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T19:24:57.185Z] [2023-02-17T19:24:57.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:24:57.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T19:24:57.564Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T19:24:57.564Z] b85a868b505f: Pulling fs layer [2023-02-17T19:24:57.564Z] e2be974225ed: Pulling fs layer [2023-02-17T19:24:57.564Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T19:24:57.564Z] 988bab9f4d93: Pulling fs layer [2023-02-17T19:24:57.564Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T19:24:57.564Z] eaf3925da568: Pulling fs layer [2023-02-17T19:24:57.564Z] bab4dde63d76: Pulling fs layer [2023-02-17T19:24:57.564Z] bde34c3a00c8: Pulling fs layer [2023-02-17T19:24:57.564Z] b352a97aabf1: Pulling fs layer [2023-02-17T19:24:57.564Z] 4872d77fe225: Pulling fs layer [2023-02-17T19:24:57.564Z] 5851b861e8e6: Pulling fs layer [2023-02-17T19:24:57.564Z] eaf3925da568: Waiting [2023-02-17T19:24:57.564Z] 1469e6f7b9e6: Waiting [2023-02-17T19:24:57.564Z] bde34c3a00c8: Waiting [2023-02-17T19:24:57.564Z] bab4dde63d76: Waiting [2023-02-17T19:24:57.564Z] b352a97aabf1: Waiting [2023-02-17T19:24:57.564Z] 988bab9f4d93: Waiting [2023-02-17T19:24:57.564Z] 5851b861e8e6: Waiting [2023-02-17T19:24:57.564Z] e2be974225ed: Verifying Checksum [2023-02-17T19:24:57.564Z] e2be974225ed: Download complete [2023-02-17T19:24:57.564Z] 988bab9f4d93: Download complete [2023-02-17T19:24:57.830Z] 339a4e72a1f5: Download complete [2023-02-17T19:24:58.094Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T19:24:58.094Z] 1469e6f7b9e6: Download complete [2023-02-17T19:24:58.094Z] eaf3925da568: Verifying Checksum [2023-02-17T19:24:58.094Z] eaf3925da568: Download complete [2023-02-17T19:24:58.094Z] bde34c3a00c8: Download complete [2023-02-17T19:24:58.094Z] b352a97aabf1: Verifying Checksum [2023-02-17T19:24:58.094Z] b352a97aabf1: Download complete [2023-02-17T19:24:58.094Z] 4872d77fe225: Download complete [2023-02-17T19:24:58.094Z] 5851b861e8e6: Verifying Checksum [2023-02-17T19:24:58.094Z] 5851b861e8e6: Download complete [2023-02-17T19:24:58.094Z] b85a868b505f: Verifying Checksum [2023-02-17T19:24:58.094Z] b85a868b505f: Download complete [2023-02-17T19:24:58.356Z] bab4dde63d76: Verifying Checksum [2023-02-17T19:24:58.356Z] bab4dde63d76: Download complete [2023-02-17T19:24:59.746Z] b85a868b505f: Pull complete [2023-02-17T19:24:59.746Z] e2be974225ed: Pull complete [2023-02-17T19:25:00.008Z] 339a4e72a1f5: Pull complete [2023-02-17T19:25:00.271Z] 988bab9f4d93: Pull complete [2023-02-17T19:25:00.533Z] 1469e6f7b9e6: Pull complete [2023-02-17T19:25:00.533Z] eaf3925da568: Pull complete [2023-02-17T19:25:02.435Z] bab4dde63d76: Pull complete [2023-02-17T19:25:02.435Z] bde34c3a00c8: Pull complete [2023-02-17T19:25:02.695Z] b352a97aabf1: Pull complete [2023-02-17T19:25:02.695Z] 4872d77fe225: Pull complete [2023-02-17T19:25:02.695Z] 5851b861e8e6: Pull complete [2023-02-17T19:25:02.695Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T19:25:02.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T19:25:02.695Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:25:02.904Z] prd-ubuntu20.04-docker-8c-8g-6491 does not seem to be running inside a container [2023-02-17T19:25:02.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-255 -v /w/workspace/gexfoundry_device-rest-go_PR-255:/w/workspace/gexfoundry_device-rest-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-255@tmp:/w/workspace/gexfoundry_device-rest-go_PR-255@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-02-17T19:25:04.456Z] $ docker top 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 -eo pid,comm [2023-02-17T19:25:04.519Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-17T19:25:04.519Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T19:25:04.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T19:25:04.649Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T19:25:04.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T19:25:04.783Z] $ docker exec 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 ssh-agent [2023-02-17T19:25:04.887Z] SSH_AUTH_SOCK=/tmp/ssh-WquN7iFeQDBb/agent.32 [2023-02-17T19:25:04.887Z] SSH_AGENT_PID=38 [2023-02-17T19:25:04.893Z] Running ssh-add (command line suppressed) [2023-02-17T19:25:05.014Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-255@tmp/private_key_11558834718051896209.key (/w/workspace/gexfoundry_device-rest-go_PR-255@tmp/private_key_11558834718051896209.key) [2023-02-17T19:25:05.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T19:25:05.363Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T19:25:05.389Z] $ docker exec --env ******** --env ******** 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 ssh-agent -k [2023-02-17T19:25:05.494Z] unset SSH_AUTH_SOCK; [2023-02-17T19:25:05.495Z] unset SSH_AGENT_PID; [2023-02-17T19:25:05.495Z] echo Agent pid 38 killed; [2023-02-17T19:25:05.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T19:25:05.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T19:25:05.587Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T19:25:05.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T19:25:05.705Z] $ docker exec 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 ssh-agent [2023-02-17T19:25:05.814Z] SSH_AUTH_SOCK=/tmp/ssh-Ik2HlMAJFTAE/agent.70 [2023-02-17T19:25:05.814Z] SSH_AGENT_PID=76 [2023-02-17T19:25:05.819Z] Running ssh-add (command line suppressed) [2023-02-17T19:25:05.934Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-255@tmp/private_key_9691992600376230022.key (/w/workspace/gexfoundry_device-rest-go_PR-255@tmp/private_key_9691992600376230022.key) [2023-02-17T19:25:05.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T19:25:06.273Z] + git semver init [2023-02-17T19:25:06.534Z] 2023-02-17 19:25:06,462 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T19:25:06.534Z] 2023-02-17 19:25:06,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-255/.semver [2023-02-17T19:25:06.534Z] 2023-02-17 19:25:06,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-255/.semver [2023-02-17T19:25:06.534Z] 2023-02-17 19:25:06,465 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-255/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-255, universal_newlines=False, shell=None, istream=None) [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,553 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-255/.git/info/exclude [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,554 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-255/.semver/PR-255 with force:False [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,554 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-255/.semver/PR-255 [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,558 [execute] INFO git cat-file --batch-check [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-255/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,564 [execute] INFO git cat-file --batch [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-255/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T19:25:07.919Z] 2023-02-17 19:25:07,571 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-255/.semver/PR-255 [2023-02-17T19:25:07.919Z] 0.0.0 [Pipeline] } [2023-02-17T19:25:07.943Z] $ docker exec --env ******** --env ******** 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 ssh-agent -k [2023-02-17T19:25:08.048Z] unset SSH_AUTH_SOCK; [2023-02-17T19:25:08.048Z] unset SSH_AGENT_PID; [2023-02-17T19:25:08.048Z] echo Agent pid 76 killed; [2023-02-17T19:25:08.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T19:25:08.469Z] + git semver [Pipeline] } [2023-02-17T19:25:08.757Z] $ docker stop --time=1 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 [2023-02-17T19:25:10.087Z] $ docker rm -f --volumes 832177015a0e96d7567ad5342ee2c6db01c64f6c10b726229135be5895a252c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T19:25:10.501Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T19:25:10.800Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T19:25:10.820Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T19:25:11.433Z] provisioning config files... [2023-02-17T19:25:11.442Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-255@tmp/config1464858603728171720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:25:11.791Z] ---> docker-login.sh [2023-02-17T19:25:11.791Z] nexus3.edgexfoundry.org:10001 [2023-02-17T19:25:11.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:25:11.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:25:11.791Z] Configure a credential helper to remove this warning. See [2023-02-17T19:25:11.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:25:11.791Z] [2023-02-17T19:25:11.791Z] Login Succeeded [2023-02-17T19:25:11.791Z] nexus3.edgexfoundry.org:10002 [2023-02-17T19:25:11.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:25:11.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:25:11.792Z] Configure a credential helper to remove this warning. See [2023-02-17T19:25:11.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:25:11.792Z] [2023-02-17T19:25:11.792Z] Login Succeeded [2023-02-17T19:25:11.792Z] nexus3.edgexfoundry.org:10003 [2023-02-17T19:25:12.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:25:12.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:25:12.052Z] Configure a credential helper to remove this warning. See [2023-02-17T19:25:12.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:25:12.052Z] [2023-02-17T19:25:12.052Z] Login Succeeded [2023-02-17T19:25:12.052Z] nexus3.edgexfoundry.org:10004 [2023-02-17T19:25:12.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:25:12.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:25:12.052Z] Configure a credential helper to remove this warning. See [2023-02-17T19:25:12.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:25:12.052Z] [2023-02-17T19:25:12.052Z] Login Succeeded [2023-02-17T19:25:12.052Z] docker.io [2023-02-17T19:25:12.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:25:12.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:25:12.574Z] Configure a credential helper to remove this warning. See [2023-02-17T19:25:12.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:25:12.574Z] [2023-02-17T19:25:12.574Z] Login Succeeded [2023-02-17T19:25:12.574Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T19:25:12.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T19:25:12.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T19:25:12.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T19:25:12.882Z] ========================================================= [2023-02-17T19:25:12.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T19:25:12.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:25:13.349Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T19:25:13.349Z] Sending build context to Docker daemon 10.82MB [2023-02-17T19:25:13.349Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T19:25:13.349Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T19:25:13.349Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T19:25:13.349Z] 213ec9aee27d: Pulling fs layer [2023-02-17T19:25:13.349Z] 4583459ba037: Pulling fs layer [2023-02-17T19:25:13.349Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T19:25:13.349Z] 53926ce57604: Pulling fs layer [2023-02-17T19:25:13.349Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T19:25:13.349Z] 22ff95d597cd: Pulling fs layer [2023-02-17T19:25:13.349Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T19:25:13.349Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T19:25:13.349Z] a7acece74701: Pulling fs layer [2023-02-17T19:25:13.349Z] 22ff95d597cd: Waiting [2023-02-17T19:25:13.349Z] 12d6caf4c0d1: Waiting [2023-02-17T19:25:13.349Z] 96b7cbca73a9: Waiting [2023-02-17T19:25:13.349Z] 53926ce57604: Waiting [2023-02-17T19:25:13.349Z] a7acece74701: Waiting [2023-02-17T19:25:13.613Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T19:25:13.613Z] 93c1e223e6f2: Download complete [2023-02-17T19:25:13.613Z] 4583459ba037: Download complete [2023-02-17T19:25:13.613Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T19:25:13.613Z] 21b2b0c7a3f4: Download complete [2023-02-17T19:25:13.613Z] 22ff95d597cd: Verifying Checksum [2023-02-17T19:25:13.613Z] 22ff95d597cd: Download complete [2023-02-17T19:25:13.613Z] 213ec9aee27d: Download complete [2023-02-17T19:25:13.613Z] 12d6caf4c0d1: Download complete [2023-02-17T19:25:13.890Z] 213ec9aee27d: Pull complete [2023-02-17T19:25:13.890Z] 4583459ba037: Pull complete [2023-02-17T19:25:13.890Z] 93c1e223e6f2: Pull complete [2023-02-17T19:25:14.896Z] a7acece74701: Verifying Checksum [2023-02-17T19:25:14.896Z] a7acece74701: Download complete [2023-02-17T19:25:14.896Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T19:25:14.896Z] 96b7cbca73a9: Download complete [2023-02-17T19:25:15.156Z] 53926ce57604: Verifying Checksum [2023-02-17T19:25:15.156Z] 53926ce57604: Download complete [2023-02-17T19:25:19.351Z] 53926ce57604: Pull complete [2023-02-17T19:25:19.351Z] 21b2b0c7a3f4: Pull complete [2023-02-17T19:25:19.351Z] 22ff95d597cd: Pull complete [2023-02-17T19:25:19.351Z] 12d6caf4c0d1: Pull complete [2023-02-17T19:25:21.254Z] 96b7cbca73a9: Pull complete [2023-02-17T19:25:22.189Z] a7acece74701: Pull complete [2023-02-17T19:25:22.189Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T19:25:22.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T19:25:22.189Z] ---> db6d94c90886 [2023-02-17T19:25:22.189Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T19:25:25.585Z] ---> Running in f8855ca62591 [2023-02-17T19:25:25.585Z] Removing intermediate container f8855ca62591 [2023-02-17T19:25:25.585Z] ---> 8e86bfc0a118 [2023-02-17T19:25:25.585Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T19:25:25.585Z] ---> Running in 8e6f6a1970b0 [2023-02-17T19:25:25.585Z] Removing intermediate container 8e6f6a1970b0 [2023-02-17T19:25:25.585Z] ---> f89498dc730c [2023-02-17T19:25:25.585Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T19:25:25.845Z] ---> Running in 3273fc157898 [2023-02-17T19:25:25.845Z] Removing intermediate container 3273fc157898 [2023-02-17T19:25:25.845Z] ---> a2b53c7e3e7a [2023-02-17T19:25:25.845Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T19:25:25.845Z] ---> Running in e21226a896df [2023-02-17T19:25:26.106Z] Removing intermediate container e21226a896df [2023-02-17T19:25:26.106Z] ---> 98cfe621d313 [2023-02-17T19:25:26.106Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T19:25:26.106Z] ---> Running in d2aaba51ef03 [2023-02-17T19:25:26.237Z] Still waiting to schedule task [2023-02-17T19:25:26.237Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-17T19:25:26.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T19:25:26.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T19:25:26.623Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T19:25:26.623Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T19:25:26.623Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T19:25:26.623Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T19:25:26.881Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T19:25:26.881Z] OK: 216 MiB in 55 packages [2023-02-17T19:25:27.142Z] Removing intermediate container d2aaba51ef03 [2023-02-17T19:25:27.142Z] ---> 26b28ae75f7f [2023-02-17T19:25:27.142Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-17T19:25:27.142Z] ---> Running in 0bd44fb1c57e [2023-02-17T19:25:27.401Z] Removing intermediate container 0bd44fb1c57e [2023-02-17T19:25:27.401Z] ---> 3d5cd8bca0df [2023-02-17T19:25:27.401Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T19:25:27.401Z] ---> 9081fcf270ec [2023-02-17T19:25:27.401Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T19:25:27.659Z] ---> Running in 4f6c9df2a7d5 [2023-02-17T19:25:59.772Z] Removing intermediate container 4f6c9df2a7d5 [2023-02-17T19:25:59.772Z] ---> 96084af43d1a [2023-02-17T19:25:59.772Z] Step 11/12 : COPY . . [2023-02-17T19:25:59.772Z] ---> 1b11e964a9a8 [2023-02-17T19:25:59.772Z] Step 12/12 : RUN $MAKE [2023-02-17T19:25:59.772Z] ---> Running in 412e7d883f0d [2023-02-17T19:26:00.031Z] noop [2023-02-17T19:26:00.600Z] Removing intermediate container 412e7d883f0d [2023-02-17T19:26:00.600Z] ---> ce5669846559 [2023-02-17T19:26:00.600Z] Successfully built ce5669846559 [2023-02-17T19:26:00.600Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:26:01.045Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T19:26:01.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:26:01.194Z] prd-ubuntu20.04-docker-8c-8g-6491 does not seem to be running inside a container [2023-02-17T19:26:01.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-255 -v /w/workspace/gexfoundry_device-rest-go_PR-255:/w/workspace/gexfoundry_device-rest-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-255@tmp:/w/workspace/gexfoundry_device-rest-go_PR-255@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-02-17T19:26:01.634Z] $ docker top 3924262ad6cac604dc97f2e7913b458d0c8001ce9129f2222e5e69a2d129e5a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T19:26:02.015Z] + go version [2023-02-17T19:26:02.015Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T19:26:02.049Z] $ docker stop --time=1 3924262ad6cac604dc97f2e7913b458d0c8001ce9129f2222e5e69a2d129e5a7 [2023-02-17T19:26:03.362Z] $ docker rm -f --volumes 3924262ad6cac604dc97f2e7913b458d0c8001ce9129f2222e5e69a2d129e5a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:26:04.063Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T19:26:04.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:26:04.216Z] prd-ubuntu20.04-docker-8c-8g-6491 does not seem to be running inside a container [2023-02-17T19:26:04.251Z] $ 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-255 -v /w/workspace/gexfoundry_device-rest-go_PR-255:/w/workspace/gexfoundry_device-rest-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-255@tmp:/w/workspace/gexfoundry_device-rest-go_PR-255@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-02-17T19:26:04.618Z] $ docker top 235d78d723e4ee5ff0e88476024796326766e7b24f67c85006879dce9483feac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T19:26:05.009Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-255 [Pipeline] fileExists [Pipeline] sh [2023-02-17T19:26:05.368Z] + make test [2023-02-17T19:26:05.368Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T19:26:05.625Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-17T19:26:15.589Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-17T19:26:15.589Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-17T19:26:22.156Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T19:26:22.156Z] go vet ./... [2023-02-17T19:26:25.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T19:26:25.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T19:26:25.446Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T19:26:25.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T19:26:25.512Z] $ docker stop --time=1 235d78d723e4ee5ff0e88476024796326766e7b24f67c85006879dce9483feac [2023-02-17T19:26:27.442Z] $ docker rm -f --volumes 235d78d723e4ee5ff0e88476024796326766e7b24f67c85006879dce9483feac [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T19:26:27.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T19:26:28.009Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T19:26:28.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T19:26:29.087Z] + ls -al . [2023-02-17T19:26:29.087Z] total 188 [2023-02-17T19:26:29.087Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 19:26 . [2023-02-17T19:26:29.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 19:24 .. [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 19:24 .dockerignore [2023-02-17T19:26:29.087Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 19:26 .git [2023-02-17T19:26:29.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 19:24 .github [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 19:24 .gitignore [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 19:24 .golangci.yml [2023-02-17T19:26:29.087Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 19:25 .semver [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 19:24 Attribution.txt [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 19:24 CHANGELOG.md [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 19:24 Dockerfile [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 19:24 GOVERNANCE.md [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 19:24 Jenkinsfile [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 19:24 LICENSE [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 19:24 Makefile [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 19:24 OWNERS.md [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 19:24 README.md [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 19:25 VERSION [2023-02-17T19:26:29.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 19:24 bin [2023-02-17T19:26:29.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 19:24 cmd [2023-02-17T19:26:29.087Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 19:26 coverage.out [2023-02-17T19:26:29.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 19:24 driver [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 19:24 go.mod [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 19:24 go.sum [2023-02-17T19:26:29.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 19:24 snap [2023-02-17T19:26:29.087Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 19:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:26:29.508Z] + 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=29588c2b6594ab0cf4b156290c074d63ced11da2 --label arch=amd64 --label version=0.0.0 . [2023-02-17T19:26:29.508Z] Sending build context to Docker daemon 10.83MB [2023-02-17T19:26:29.508Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T19:26:29.508Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T19:26:29.508Z] ---> ce5669846559 [2023-02-17T19:26:29.508Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T19:26:29.771Z] ---> Running in 54507f882f61 [2023-02-17T19:26:29.771Z] Removing intermediate container 54507f882f61 [2023-02-17T19:26:29.771Z] ---> 2fcc7192c22e [2023-02-17T19:26:29.771Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T19:26:30.035Z] ---> Running in 7b586a3e3d14 [2023-02-17T19:26:30.035Z] Removing intermediate container 7b586a3e3d14 [2023-02-17T19:26:30.035Z] ---> 3a43b80cf526 [2023-02-17T19:26:30.035Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T19:26:30.035Z] ---> Running in f77d7ad0e3db [2023-02-17T19:26:30.035Z] Removing intermediate container f77d7ad0e3db [2023-02-17T19:26:30.035Z] ---> f184448f3ce6 [2023-02-17T19:26:30.035Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T19:26:30.293Z] ---> Running in 589dbbca2f18 [2023-02-17T19:26:30.293Z] Removing intermediate container 589dbbca2f18 [2023-02-17T19:26:30.293Z] ---> 14bfd486cc3c [2023-02-17T19:26:30.293Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T19:26:30.293Z] ---> Running in 4c06301c95db [2023-02-17T19:26:30.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T19:26:30.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T19:26:31.070Z] OK: 216 MiB in 55 packages [2023-02-17T19:26:31.639Z] Removing intermediate container 4c06301c95db [2023-02-17T19:26:31.639Z] ---> 3827d159b650 [2023-02-17T19:26:31.639Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-17T19:26:31.639Z] ---> Running in 6991093058b4 [2023-02-17T19:26:31.639Z] Removing intermediate container 6991093058b4 [2023-02-17T19:26:31.639Z] ---> de5761e268a8 [2023-02-17T19:26:31.639Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-17T19:26:31.898Z] ---> 9f26cc6807f2 [2023-02-17T19:26:31.898Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T19:26:31.898Z] ---> Running in 8caec91ae0ac [2023-02-17T19:26:32.837Z] Removing intermediate container 8caec91ae0ac [2023-02-17T19:26:32.837Z] ---> 20ac53d1f97a [2023-02-17T19:26:32.837Z] Step 11/25 : COPY . . [2023-02-17T19:26:33.101Z] ---> 6923be48d52f [2023-02-17T19:26:33.101Z] Step 12/25 : RUN $MAKE [2023-02-17T19:26:33.101Z] ---> Running in b9d7678a4228 [2023-02-17T19:26:33.671Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-17T19:26:51.941Z] Removing intermediate container b9d7678a4228 [2023-02-17T19:26:51.941Z] ---> 7805d8df2855 [2023-02-17T19:26:51.941Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T19:26:51.941Z] 3.16: Pulling from library/alpine [2023-02-17T19:26:51.941Z] ef5531b6e74e: Pulling fs layer [2023-02-17T19:26:51.941Z] ef5531b6e74e: Download complete [2023-02-17T19:26:51.941Z] ef5531b6e74e: Pull complete [2023-02-17T19:26:51.941Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T19:26:51.941Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T19:26:51.941Z] ---> dfd21b5a31f5 [2023-02-17T19:26:51.941Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T19:26:51.941Z] ---> Running in 14634d0f2e76 [2023-02-17T19:26:51.941Z] Removing intermediate container 14634d0f2e76 [2023-02-17T19:26:51.941Z] ---> 19aa83f3d076 [2023-02-17T19:26:51.941Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-17T19:26:51.941Z] ---> Running in db6631a1bd0f [2023-02-17T19:26:52.199Z] Removing intermediate container db6631a1bd0f [2023-02-17T19:26:52.199Z] ---> 31ff8c94b83d [2023-02-17T19:26:52.199Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T19:26:52.199Z] ---> Running in c1bb2d6fbc18 [2023-02-17T19:26:52.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T19:26:52.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T19:26:52.718Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T19:26:52.975Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T19:26:52.975Z] OK: 6 MiB in 15 packages [2023-02-17T19:26:53.234Z] Removing intermediate container c1bb2d6fbc18 [2023-02-17T19:26:53.234Z] ---> c8cb738703fc [2023-02-17T19:26:53.234Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-17T19:26:53.799Z] ---> fc5b6bef02ca [2023-02-17T19:26:53.799Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-17T19:26:53.799Z] ---> 91018cc67f6f [2023-02-17T19:26:53.799Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-17T19:26:54.058Z] ---> 9a0704954c0e [2023-02-17T19:26:54.058Z] Step 20/25 : EXPOSE 59986 [2023-02-17T19:26:54.058Z] ---> Running in 4d113f7f224a [2023-02-17T19:26:54.319Z] Removing intermediate container 4d113f7f224a [2023-02-17T19:26:54.319Z] ---> 73762d21bfc7 [2023-02-17T19:26:54.319Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-17T19:26:54.319Z] ---> Running in fde69cad70f1 [2023-02-17T19:26:54.319Z] Removing intermediate container fde69cad70f1 [2023-02-17T19:26:54.319Z] ---> 5630c729762c [2023-02-17T19:26:54.319Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T19:26:54.319Z] ---> Running in 2ea9a8fb5de6 [2023-02-17T19:26:54.319Z] Removing intermediate container 2ea9a8fb5de6 [2023-02-17T19:26:54.319Z] ---> 883040a3e76e [2023-02-17T19:26:54.319Z] Step 23/25 : LABEL arch=amd64 [2023-02-17T19:26:54.577Z] ---> Running in 6a3ee5cb5d87 [2023-02-17T19:26:54.577Z] Removing intermediate container 6a3ee5cb5d87 [2023-02-17T19:26:54.577Z] ---> 21d503a35cb9 [2023-02-17T19:26:54.577Z] Step 24/25 : LABEL git_sha=29588c2b6594ab0cf4b156290c074d63ced11da2 [2023-02-17T19:26:54.577Z] ---> Running in e00c00532f89 [2023-02-17T19:26:54.577Z] Removing intermediate container e00c00532f89 [2023-02-17T19:26:54.577Z] ---> 09266407c9f0 [2023-02-17T19:26:54.577Z] Step 25/25 : LABEL version=0.0.0 [2023-02-17T19:26:54.577Z] ---> Running in 65096b9ee8dd [2023-02-17T19:26:54.835Z] Removing intermediate container 65096b9ee8dd [2023-02-17T19:26:54.835Z] ---> 9fe993add283 [2023-02-17T19:26:54.835Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T19:26:54.835Z] Successfully built 9fe993add283 [2023-02-17T19:26:54.835Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:26:55.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T19:26:55.710Z] [2023-02-17T19:26:55.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:26:56.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T19:26:56.090Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T19:26:56.090Z] 5eb5b503b376: Pulling fs layer [2023-02-17T19:26:56.090Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T19:26:56.090Z] ec43610c2a17: Pulling fs layer [2023-02-17T19:26:56.090Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T19:26:56.090Z] 33b1e0a273af: Pulling fs layer [2023-02-17T19:26:56.090Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T19:26:56.090Z] 2f39f015ded8: Pulling fs layer [2023-02-17T19:26:56.090Z] 33b1e0a273af: Waiting [2023-02-17T19:26:56.090Z] 5d3b04190fa2: Waiting [2023-02-17T19:26:56.090Z] 2f39f015ded8: Waiting [2023-02-17T19:26:56.090Z] 3a2ae6a8a46f: Waiting [2023-02-17T19:26:56.090Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T19:26:56.090Z] 5c69ac0246d0: Download complete [2023-02-17T19:26:56.090Z] 3a2ae6a8a46f: Download complete [2023-02-17T19:26:56.189Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6492 in /w/workspace/gexfoundry_device-rest-go_PR-255 [Pipeline] { [Pipeline] ws [2023-02-17T19:26:56.241Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T19:26:56.307Z] The recommended git tool is: git [2023-02-17T19:26:56.355Z] 33b1e0a273af: Verifying Checksum [2023-02-17T19:26:56.355Z] 33b1e0a273af: Download complete [2023-02-17T19:26:56.355Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T19:26:56.355Z] 5d3b04190fa2: Download complete [2023-02-17T19:26:56.355Z] ec43610c2a17: Verifying Checksum [2023-02-17T19:26:56.355Z] ec43610c2a17: Download complete [2023-02-17T19:26:56.618Z] 5eb5b503b376: Verifying Checksum [2023-02-17T19:26:56.618Z] 5eb5b503b376: Download complete [2023-02-17T19:26:57.183Z] 2f39f015ded8: Verifying Checksum [2023-02-17T19:26:57.183Z] 2f39f015ded8: Download complete [2023-02-17T19:26:57.749Z] 5eb5b503b376: Pull complete [2023-02-17T19:26:57.749Z] 5c69ac0246d0: Pull complete [2023-02-17T19:26:58.007Z] ec43610c2a17: Pull complete [2023-02-17T19:26:58.266Z] 3a2ae6a8a46f: Pull complete [2023-02-17T19:26:58.522Z] 33b1e0a273af: Pull complete [2023-02-17T19:26:58.522Z] 5d3b04190fa2: Pull complete [2023-02-17T19:27:01.173Z] using credential edgex-jenkins-ssh [2023-02-17T19:27:01.189Z] Cloning the remote Git repository [2023-02-17T19:27:01.226Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T19:27:01.299Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-17T19:27:01.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T19:27:01.462Z] > git --version # timeout=10 [2023-02-17T19:27:01.485Z] > git --version # 'git version 2.25.1' [2023-02-17T19:27:01.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T19:27:01.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T19:27:02.701Z] 2f39f015ded8: Pull complete [2023-02-17T19:27:02.701Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T19:27:02.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T19:27:02.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:27:02.902Z] prd-ubuntu20.04-docker-8c-8g-6491 does not seem to be running inside a container [2023-02-17T19:27:02.934Z] $ 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-255 -v /w/workspace/gexfoundry_device-rest-go_PR-255:/w/workspace/gexfoundry_device-rest-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-255@tmp:/w/workspace/gexfoundry_device-rest-go_PR-255@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-02-17T19:27:03.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-17T19:27:03.457Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T19:27:04.960Z] Merging remotes/origin/main commit 7f746f51e1ef244c01c4206344cb741c614a79d6 into PR head commit 29588c2b6594ab0cf4b156290c074d63ced11da2 [2023-02-17T19:27:04.986Z] $ docker top 3a5ffcb02fc6e55ab868915fb9a6462a6b1398e09f6914b9ed18c4d1ca3fd2c3 -eo pid,comm [2023-02-17T19:27:04.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-17T19:27:04.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T19:27:04.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T19:27:04.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T19:27:04.970Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T19:27:04.986Z] > git checkout -f 29588c2b6594ab0cf4b156290c074d63ced11da2 # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:27:05.185Z] Merge succeeded, producing 29588c2b6594ab0cf4b156290c074d63ced11da2 [2023-02-17T19:27:05.185Z] Checking out Revision 29588c2b6594ab0cf4b156290c074d63ced11da2 (PR-255) [2023-02-17T19:27:05.443Z] ---> job-cost.sh [2023-02-17T19:27:05.443Z] lf-activate-venv: SKIPPING [2023-02-17T19:27:05.443Z] INFO: No Stack... [2023-02-17T19:27:05.629Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-17T19:27:05.702Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T19:27:05.682Z] > git --version # timeout=10 [2023-02-17T19:27:05.694Z] > git --version # 'git version 2.25.1' [2023-02-17T19:27:05.726Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T19:27:05.960Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T19:27:06.152Z] [2023-02-17T19:27:06.152Z] GitHub has been notified of this commit’s build result [2023-02-17T19:27:06.152Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-02-17T19:27:06.276Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-255/archives/cost.csv [2023-02-17T19:27:06.277Z] + cut -d, -f6 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] lock [2023-02-17T19:27:06.374Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] [2023-02-17T19:27:06.378Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] did not exist. Created. [2023-02-17T19:27:06.378Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] [Pipeline] { [2023-02-17T19:27:05.077Z] > git remote # timeout=10 [2023-02-17T19:27:05.096Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T19:27:05.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T19:27:05.137Z] > git merge 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 [2023-02-17T19:27:05.160Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T19:27:05.182Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T19:27:05.195Z] > git checkout -f 29588c2b6594ab0cf4b156290c074d63ced11da2 # timeout=10 [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T19:27:06.741Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T19:27:06.785Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T19:27:06.815Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T19:27:06.906Z] $ docker stop --time=1 3a5ffcb02fc6e55ab868915fb9a6462a6b1398e09f6914b9ed18c4d1ca3fd2c3 [2023-02-17T19:27:07.045Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T19:27:07.045Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T19:27:07.045Z] Dload Upload Total Spent Left Speed [2023-02-17T19:27:07.045Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70838 0 --:--:-- --:--:-- --:--:-- 70838 [2023-02-17T19:27:08.080Z] $ docker rm -f --volumes 3a5ffcb02fc6e55ab868915fb9a6462a6b1398e09f6914b9ed18c4d1ca3fd2c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T19:27:08.532Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T19:27:08.914Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T19:27:08.914Z] sudo tee /etc/docker/daemon.new [2023-02-17T19:27:08.914Z] { [2023-02-17T19:27:08.914Z] "registry-mirrors": [ [2023-02-17T19:27:08.914Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T19:27:08.914Z] ], [2023-02-17T19:27:08.914Z] "bip": "10.250.0.254/24", [2023-02-17T19:27:08.914Z] "hosts": [ [2023-02-17T19:27:08.914Z] "tcp://0.0.0.0:5555", [2023-02-17T19:27:08.914Z] "unix:///var/run/docker.sock" [2023-02-17T19:27:08.914Z] ], [2023-02-17T19:27:08.914Z] "mtu": 1458, [2023-02-17T19:27:08.914Z] "selinux-enabled": true, [2023-02-17T19:27:08.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T19:27:08.914Z] } [Pipeline] sh [2023-02-17T19:27:09.256Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T19:27:09.608Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T19:27:27.933Z] provisioning config files... [2023-02-17T19:27:27.960Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9354979715927481807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:27:28.347Z] ---> docker-login.sh [2023-02-17T19:27:28.347Z] nexus3.edgexfoundry.org:10001 [2023-02-17T19:27:28.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:27:28.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:27:28.938Z] Configure a credential helper to remove this warning. See [2023-02-17T19:27:28.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:27:28.938Z] [2023-02-17T19:27:28.938Z] Login Succeeded [2023-02-17T19:27:28.938Z] nexus3.edgexfoundry.org:10002 [2023-02-17T19:27:29.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:27:29.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:27:29.208Z] Configure a credential helper to remove this warning. See [2023-02-17T19:27:29.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:27:29.208Z] [2023-02-17T19:27:29.208Z] Login Succeeded [2023-02-17T19:27:29.208Z] nexus3.edgexfoundry.org:10003 [2023-02-17T19:27:29.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:27:29.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:27:29.745Z] Configure a credential helper to remove this warning. See [2023-02-17T19:27:29.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:27:29.745Z] [2023-02-17T19:27:29.745Z] Login Succeeded [2023-02-17T19:27:29.745Z] nexus3.edgexfoundry.org:10004 [2023-02-17T19:27:30.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:27:30.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:27:30.021Z] Configure a credential helper to remove this warning. See [2023-02-17T19:27:30.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:27:30.021Z] [2023-02-17T19:27:30.021Z] Login Succeeded [2023-02-17T19:27:30.021Z] docker.io [2023-02-17T19:27:30.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T19:27:30.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T19:27:30.559Z] Configure a credential helper to remove this warning. See [2023-02-17T19:27:30.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T19:27:30.559Z] [2023-02-17T19:27:30.559Z] Login Succeeded [2023-02-17T19:27:30.559Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T19:27:30.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T19:27:30.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T19:27:31.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T19:27:31.044Z] ========================================================= [2023-02-17T19:27:31.044Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T19:27:31.044Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:27:31.532Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T19:27:31.532Z] Sending build context to Docker daemon 139.8kB [2023-02-17T19:27:31.799Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T19:27:31.799Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T19:27:32.395Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T19:27:32.395Z] 9b18e9b68314: Pulling fs layer [2023-02-17T19:27:32.395Z] 35d82f9e3411: Pulling fs layer [2023-02-17T19:27:32.395Z] e16973657156: Pulling fs layer [2023-02-17T19:27:32.395Z] fc693d55d65f: Pulling fs layer [2023-02-17T19:27:32.395Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T19:27:32.395Z] dda99020689f: Pulling fs layer [2023-02-17T19:27:32.395Z] db1c61fa0a46: Pulling fs layer [2023-02-17T19:27:32.395Z] 891c053d2c06: Pulling fs layer [2023-02-17T19:27:32.395Z] dda99020689f: Waiting [2023-02-17T19:27:32.395Z] fc693d55d65f: Waiting [2023-02-17T19:27:32.395Z] 7e9fc2657dce: Waiting [2023-02-17T19:27:32.395Z] db1c61fa0a46: Waiting [2023-02-17T19:27:32.395Z] 891c053d2c06: Waiting [2023-02-17T19:27:32.395Z] e16973657156: Download complete [2023-02-17T19:27:32.395Z] 35d82f9e3411: Verifying Checksum [2023-02-17T19:27:32.395Z] 35d82f9e3411: Download complete [2023-02-17T19:27:32.395Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T19:27:32.395Z] 7e9fc2657dce: Download complete [2023-02-17T19:27:32.693Z] dda99020689f: Verifying Checksum [2023-02-17T19:27:32.693Z] dda99020689f: Download complete [2023-02-17T19:27:32.693Z] 9b18e9b68314: Verifying Checksum [2023-02-17T19:27:32.693Z] 9b18e9b68314: Download complete [2023-02-17T19:27:33.662Z] 9b18e9b68314: Pull complete [2023-02-17T19:27:33.662Z] 891c053d2c06: Verifying Checksum [2023-02-17T19:27:33.662Z] 891c053d2c06: Download complete [2023-02-17T19:27:33.942Z] 35d82f9e3411: Pull complete [2023-02-17T19:27:34.209Z] e16973657156: Pull complete [2023-02-17T19:27:34.796Z] db1c61fa0a46: Verifying Checksum [2023-02-17T19:27:34.796Z] db1c61fa0a46: Download complete [2023-02-17T19:27:35.383Z] fc693d55d65f: Verifying Checksum [2023-02-17T19:27:35.383Z] fc693d55d65f: Download complete [2023-02-17T19:27:47.713Z] fc693d55d65f: Pull complete [2023-02-17T19:27:47.713Z] 7e9fc2657dce: Pull complete [2023-02-17T19:27:47.713Z] dda99020689f: Pull complete [2023-02-17T19:27:53.063Z] db1c61fa0a46: Pull complete [2023-02-17T19:27:55.021Z] 891c053d2c06: Pull complete [2023-02-17T19:27:55.021Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T19:27:55.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T19:27:55.021Z] ---> f96f9c87975a [2023-02-17T19:27:55.021Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T19:27:57.062Z] ---> Running in 5b2eddd2e9df [2023-02-17T19:27:57.062Z] Removing intermediate container 5b2eddd2e9df [2023-02-17T19:27:57.062Z] ---> b2513f729309 [2023-02-17T19:27:57.062Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T19:27:57.062Z] ---> Running in 2578dd3be990 [2023-02-17T19:27:57.334Z] Removing intermediate container 2578dd3be990 [2023-02-17T19:27:57.334Z] ---> 519965d88f2d [2023-02-17T19:27:57.334Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T19:27:57.334Z] ---> Running in 6e588514a2db [2023-02-17T19:27:57.922Z] Removing intermediate container 6e588514a2db [2023-02-17T19:27:57.922Z] ---> 70eec84465ea [2023-02-17T19:27:57.922Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T19:27:57.922Z] ---> Running in 8878f3a38feb [2023-02-17T19:27:58.192Z] Removing intermediate container 8878f3a38feb [2023-02-17T19:27:58.192Z] ---> b56765fd7c22 [2023-02-17T19:27:58.192Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T19:27:58.192Z] ---> Running in 1250f4846a56 [2023-02-17T19:27:59.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T19:27:59.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T19:28:00.322Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T19:28:00.322Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T19:28:00.322Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T19:28:00.588Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T19:28:00.588Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T19:28:00.588Z] OK: 226 MiB in 55 packages [2023-02-17T19:28:01.551Z] Removing intermediate container 1250f4846a56 [2023-02-17T19:28:01.551Z] ---> 7da50fcd1a88 [2023-02-17T19:28:01.551Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-17T19:28:01.551Z] ---> Running in a4c9108aab31 [2023-02-17T19:28:01.819Z] Removing intermediate container a4c9108aab31 [2023-02-17T19:28:01.819Z] ---> 2549bf52430a [2023-02-17T19:28:01.819Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T19:28:02.407Z] ---> 97c82e880771 [2023-02-17T19:28:02.407Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T19:28:02.407Z] ---> Running in b3ea49cba62d [2023-02-17T19:29:10.292Z] Removing intermediate container b3ea49cba62d [2023-02-17T19:29:10.292Z] ---> 21824efa53c3 [2023-02-17T19:29:10.292Z] Step 11/12 : COPY . . [2023-02-17T19:29:10.292Z] ---> 598a5e4cc815 [2023-02-17T19:29:10.292Z] Step 12/12 : RUN $MAKE [2023-02-17T19:29:10.292Z] ---> Running in 183d5c1d3536 [2023-02-17T19:29:10.292Z] noop [2023-02-17T19:29:10.874Z] Removing intermediate container 183d5c1d3536 [2023-02-17T19:29:10.874Z] ---> ef68c73b7c6c [2023-02-17T19:29:10.874Z] Successfully built ef68c73b7c6c [2023-02-17T19:29:10.874Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:29:11.359Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T19:29:11.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:29:11.612Z] prd-ubuntu20.04-docker-arm64-4c-16g-6492 does not seem to be running inside a container [2023-02-17T19:29:11.683Z] $ 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-02-17T19:29:12.796Z] $ docker top fcf281a0ab7a2804418f8640fe779839d9f6800f0d915a8d2779c779d41db1f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T19:29:13.654Z] + go version [2023-02-17T19:29:13.654Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T19:29:13.697Z] $ docker stop --time=1 fcf281a0ab7a2804418f8640fe779839d9f6800f0d915a8d2779c779d41db1f7 [2023-02-17T19:29:15.282Z] $ docker rm -f --volumes fcf281a0ab7a2804418f8640fe779839d9f6800f0d915a8d2779c779d41db1f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:29:16.126Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T19:29:16.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:29:16.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-6492 does not seem to be running inside a container [2023-02-17T19:29:16.425Z] $ 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-02-17T19:29:17.449Z] $ docker top 60bf3ca9d1c9e7f3235ec4f79006033d3aed989859fd950c52b555c235387b94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T19:29:17.978Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T19:29:18.365Z] + make test [2023-02-17T19:29:18.365Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T19:29:19.776Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-17T19:30:41.423Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-17T19:30:41.423Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.9% of statements [2023-02-17T19:30:41.423Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T19:30:41.423Z] go vet ./... [2023-02-17T19:30:59.666Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T19:30:59.666Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T19:30:59.667Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T19:30:59.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T19:31:00.009Z] $ docker stop --time=1 60bf3ca9d1c9e7f3235ec4f79006033d3aed989859fd950c52b555c235387b94 [2023-02-17T19:31:01.796Z] $ docker rm -f --volumes 60bf3ca9d1c9e7f3235ec4f79006033d3aed989859fd950c52b555c235387b94 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T19:31:02.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T19:31:02.821Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T19:31:03.284Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T19:31:03.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T19:31:04.236Z] + ls -al . [2023-02-17T19:31:04.236Z] total 184 [2023-02-17T19:31:04.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 19:29 . [2023-02-17T19:31:04.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 19:27 .. [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 19:27 .dockerignore [2023-02-17T19:31:04.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 19:27 .git [2023-02-17T19:31:04.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 19:27 .github [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 19:27 .gitignore [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 19:27 .golangci.yml [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 19:27 Attribution.txt [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 19:27 CHANGELOG.md [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 19:27 Dockerfile [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 19:27 GOVERNANCE.md [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 19:27 Jenkinsfile [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 19:27 LICENSE [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 19:27 Makefile [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 19:27 OWNERS.md [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 19:27 README.md [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 19:25 VERSION [2023-02-17T19:31:04.236Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 19:27 bin [2023-02-17T19:31:04.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 19:27 cmd [2023-02-17T19:31:04.236Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 19:30 coverage.out [2023-02-17T19:31:04.236Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 19:27 driver [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 19:27 go.mod [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 19:27 go.sum [2023-02-17T19:31:04.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 19:27 snap [2023-02-17T19:31:04.236Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 19:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:31:04.665Z] + 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=29588c2b6594ab0cf4b156290c074d63ced11da2 --label arch=arm64 --label version=0.0.0 . [2023-02-17T19:31:04.665Z] Sending build context to Docker daemon 154.1kB [2023-02-17T19:31:04.934Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T19:31:04.934Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T19:31:04.934Z] ---> ef68c73b7c6c [2023-02-17T19:31:04.934Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T19:31:04.934Z] ---> Running in 7c04b5ffc237 [2023-02-17T19:31:05.202Z] Removing intermediate container 7c04b5ffc237 [2023-02-17T19:31:05.202Z] ---> 6c2733bde89a [2023-02-17T19:31:05.202Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T19:31:05.472Z] ---> Running in 781074bf881a [2023-02-17T19:31:05.741Z] Removing intermediate container 781074bf881a [2023-02-17T19:31:05.741Z] ---> 57bbcb5c7cf8 [2023-02-17T19:31:05.741Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T19:31:05.741Z] ---> Running in 9892ff5403ef [2023-02-17T19:31:06.012Z] Removing intermediate container 9892ff5403ef [2023-02-17T19:31:06.012Z] ---> 41fb907e0029 [2023-02-17T19:31:06.013Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T19:31:06.013Z] ---> Running in 106b40774df6 [2023-02-17T19:31:06.288Z] Removing intermediate container 106b40774df6 [2023-02-17T19:31:06.288Z] ---> f1957adecac1 [2023-02-17T19:31:06.288Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T19:31:06.558Z] ---> Running in 1f841d2a4a9d [2023-02-17T19:31:07.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T19:31:07.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T19:31:08.754Z] OK: 226 MiB in 55 packages [2023-02-17T19:31:09.717Z] Removing intermediate container 1f841d2a4a9d [2023-02-17T19:31:09.717Z] ---> 3cf4dfb24088 [2023-02-17T19:31:09.717Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-17T19:31:09.717Z] ---> Running in 2bf3a82e5936 [2023-02-17T19:31:09.984Z] Removing intermediate container 2bf3a82e5936 [2023-02-17T19:31:09.984Z] ---> cfa241b36fc2 [2023-02-17T19:31:09.984Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-17T19:31:10.254Z] ---> b5f2285717ca [2023-02-17T19:31:10.254Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T19:31:10.524Z] ---> Running in a9b512e977a4 [2023-02-17T19:31:13.118Z] Removing intermediate container a9b512e977a4 [2023-02-17T19:31:13.118Z] ---> 7cfc301d07e9 [2023-02-17T19:31:13.118Z] Step 11/25 : COPY . . [2023-02-17T19:31:13.384Z] ---> 1b28ee94fe85 [2023-02-17T19:31:13.384Z] Step 12/25 : RUN $MAKE [2023-02-17T19:31:13.384Z] ---> Running in d75a8024fcde [2023-02-17T19:31:14.357Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-17T19:33:36.085Z] Removing intermediate container d75a8024fcde [2023-02-17T19:33:36.085Z] ---> 0e7db7cc8f97 [2023-02-17T19:33:36.085Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T19:33:36.085Z] 3.16: Pulling from library/alpine [2023-02-17T19:33:36.085Z] 3760b48202b3: Pulling fs layer [2023-02-17T19:33:36.085Z] 3760b48202b3: Download complete [2023-02-17T19:33:36.085Z] 3760b48202b3: Pull complete [2023-02-17T19:33:36.085Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T19:33:36.085Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T19:33:36.085Z] ---> 4c81e5bf8899 [2023-02-17T19:33:36.085Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T19:33:36.085Z] ---> Running in 9a395700812f [2023-02-17T19:33:36.085Z] Removing intermediate container 9a395700812f [2023-02-17T19:33:36.085Z] ---> acae64094cdb [2023-02-17T19:33:36.085Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-17T19:33:36.085Z] ---> Running in 80bcf1bd3de4 [2023-02-17T19:33:36.085Z] Removing intermediate container 80bcf1bd3de4 [2023-02-17T19:33:36.085Z] ---> ab12d9aabf3d [2023-02-17T19:33:36.085Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T19:33:36.085Z] ---> Running in 16e4ffce0a2c [2023-02-17T19:33:36.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T19:33:36.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T19:33:36.085Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T19:33:36.085Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T19:33:36.085Z] OK: 5 MiB in 15 packages [2023-02-17T19:33:36.085Z] Removing intermediate container 16e4ffce0a2c [2023-02-17T19:33:36.085Z] ---> 812ebd1e5e53 [2023-02-17T19:33:36.085Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-17T19:33:36.085Z] ---> 00550d04fb8b [2023-02-17T19:33:36.085Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-17T19:33:36.085Z] ---> 6443ba8f84eb [2023-02-17T19:33:36.085Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-17T19:33:36.085Z] ---> 6414281d1d46 [2023-02-17T19:33:36.085Z] Step 20/25 : EXPOSE 59986 [2023-02-17T19:33:36.085Z] ---> Running in 2f0dfca49974 [2023-02-17T19:33:36.085Z] Removing intermediate container 2f0dfca49974 [2023-02-17T19:33:36.085Z] ---> eae04db8c973 [2023-02-17T19:33:36.085Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-17T19:33:36.085Z] ---> Running in f8fc7d20b52b [2023-02-17T19:33:36.085Z] Removing intermediate container f8fc7d20b52b [2023-02-17T19:33:36.085Z] ---> 550ef3525b88 [2023-02-17T19:33:36.085Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T19:33:36.085Z] ---> Running in c203eb58e88c [2023-02-17T19:33:36.085Z] Removing intermediate container c203eb58e88c [2023-02-17T19:33:36.085Z] ---> d39035d7d103 [2023-02-17T19:33:36.085Z] Step 23/25 : LABEL arch=arm64 [2023-02-17T19:33:36.085Z] ---> Running in 0f20b7c32430 [2023-02-17T19:33:36.085Z] Removing intermediate container 0f20b7c32430 [2023-02-17T19:33:36.085Z] ---> 4a00c7312a71 [2023-02-17T19:33:36.085Z] Step 24/25 : LABEL git_sha=29588c2b6594ab0cf4b156290c074d63ced11da2 [2023-02-17T19:33:36.085Z] ---> Running in a9fac464d3f2 [2023-02-17T19:33:36.085Z] Removing intermediate container a9fac464d3f2 [2023-02-17T19:33:36.085Z] ---> 143cbea2c26a [2023-02-17T19:33:36.085Z] Step 25/25 : LABEL version=0.0.0 [2023-02-17T19:33:36.085Z] ---> Running in b0ee9e3fb3f7 [2023-02-17T19:33:36.085Z] Removing intermediate container b0ee9e3fb3f7 [2023-02-17T19:33:36.085Z] ---> 5ec9474e7e93 [2023-02-17T19:33:36.085Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T19:33:36.085Z] Successfully built 5ec9474e7e93 [2023-02-17T19:33:36.085Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:33:36.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T19:33:36.897Z] [2023-02-17T19:33:36.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:33:37.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T19:33:37.302Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T19:33:37.302Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T19:33:37.302Z] 04944245beec: Pulling fs layer [2023-02-17T19:33:37.302Z] 699f458cf7ca: Pulling fs layer [2023-02-17T19:33:37.302Z] 765212b225bb: Pulling fs layer [2023-02-17T19:33:37.302Z] f23df028b6ca: Pulling fs layer [2023-02-17T19:33:37.302Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T19:33:37.302Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T19:33:37.302Z] f23df028b6ca: Waiting [2023-02-17T19:33:37.302Z] d65c8cfc05b1: Waiting [2023-02-17T19:33:37.302Z] 2437ff75d9bd: Waiting [2023-02-17T19:33:37.302Z] 765212b225bb: Waiting [2023-02-17T19:33:37.571Z] 04944245beec: Verifying Checksum [2023-02-17T19:33:37.571Z] 04944245beec: Download complete [2023-02-17T19:33:37.571Z] 765212b225bb: Verifying Checksum [2023-02-17T19:33:37.571Z] 765212b225bb: Download complete [2023-02-17T19:33:37.571Z] f23df028b6ca: Verifying Checksum [2023-02-17T19:33:37.571Z] f23df028b6ca: Download complete [2023-02-17T19:33:37.571Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T19:33:37.571Z] d65c8cfc05b1: Download complete [2023-02-17T19:33:37.840Z] 699f458cf7ca: Verifying Checksum [2023-02-17T19:33:37.840Z] 699f458cf7ca: Download complete [2023-02-17T19:33:38.114Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T19:33:38.114Z] 8998bd30e6a1: Download complete [2023-02-17T19:33:40.713Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T19:33:40.713Z] 2437ff75d9bd: Download complete [2023-02-17T19:33:42.132Z] 8998bd30e6a1: Pull complete [2023-02-17T19:33:42.402Z] 04944245beec: Pull complete [2023-02-17T19:33:43.811Z] 699f458cf7ca: Pull complete [2023-02-17T19:33:44.078Z] 765212b225bb: Pull complete [2023-02-17T19:33:44.663Z] f23df028b6ca: Pull complete [2023-02-17T19:33:44.931Z] d65c8cfc05b1: Pull complete [2023-02-17T19:33:59.928Z] 2437ff75d9bd: Pull complete [2023-02-17T19:33:59.928Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T19:33:59.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T19:33:59.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:34:00.233Z] prd-ubuntu20.04-docker-arm64-4c-16g-6492 does not seem to be running inside a container [2023-02-17T19:34:00.309Z] $ 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-02-17T19:34:03.006Z] $ docker top 323596c0bb314cb417e635de74b7e55e396266787852693f36f0650211bbb9a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:03.632Z] ---> job-cost.sh [2023-02-17T19:34:03.910Z] lf-activate-venv: SKIPPING [2023-02-17T19:34:03.910Z] INFO: No Stack... [2023-02-17T19:34:04.182Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T19:34:05.160Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T19:34:05.831Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-02-17T19:34:05.831Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T19:34:05.922Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] [2023-02-17T19:34:05.927Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] did not exist. Created. [2023-02-17T19:34:05.927Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T19:34:06.345Z] /w/workspace/device-rest-go/1@tmp/durable-da569f2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T19:34:07.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T19:34:07.070Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T19:34:07.121Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T19:34:07.136Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-255-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T19:34:07.350Z] $ docker stop --time=1 323596c0bb314cb417e635de74b7e55e396266787852693f36f0650211bbb9a1 [2023-02-17T19:34:08.866Z] $ docker rm -f --volumes 323596c0bb314cb417e635de74b7e55e396266787852693f36f0650211bbb9a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-17T19:34:09.864Z] provisioning config files... [2023-02-17T19:34:09.873Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-255@tmp/config16725152977684870191tmp [Pipeline] { [Pipeline] sh [2023-02-17T19:34:10.206Z] + set +x [2023-02-17T19:34:10.206Z] + bash -s -- [2023-02-17T19:34:10.206Z] + curl -s https://codecov.io/bash [2023-02-17T19:34:10.206Z] [2023-02-17T19:34:10.206Z] _____ _ [2023-02-17T19:34:10.206Z] / ____| | | [2023-02-17T19:34:10.206Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T19:34:10.206Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T19:34:10.206Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T19:34:10.206Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T19:34:10.206Z] Bash-1.0.6 [2023-02-17T19:34:10.206Z] [2023-02-17T19:34:10.206Z] [2023-02-17T19:34:10.206Z] ==> git version 2.25.1 found [2023-02-17T19:34:10.206Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-17T19:34:10.206Z] Release-Date: 2020-01-08 [2023-02-17T19:34:10.206Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T19:34:10.206Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T19:34:10.206Z] ==> Jenkins CI detected. [2023-02-17T19:34:10.206Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-255 [2023-02-17T19:34:10.206Z] project root: . [2023-02-17T19:34:10.206Z] --> token set from env [2023-02-17T19:34:10.206Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T19:34:10.467Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T19:34:10.467Z] ==> Python coveragepy not found [2023-02-17T19:34:10.467Z] ==> Searching for coverage reports in: [2023-02-17T19:34:10.467Z] + . [2023-02-17T19:34:10.467Z] -> Found 1 reports [2023-02-17T19:34:10.467Z] ==> Detecting git/mercurial file structure [2023-02-17T19:34:10.467Z] ==> Reading reports [2023-02-17T19:34:10.467Z] + ./coverage.out bytes=13744 [2023-02-17T19:34:10.467Z] ==> Appending adjustments [2023-02-17T19:34:10.467Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T19:34:10.467Z] + Found adjustments [2023-02-17T19:34:10.467Z] ==> Gzipping contents [2023-02-17T19:34:10.467Z] 4.0K /tmp/codecov.S8ii9r.gz [2023-02-17T19:34:10.467Z] ==> Uploading reports [2023-02-17T19:34:10.467Z] url: https://codecov.io [2023-02-17T19:34:10.467Z] query: branch=PR-255&commit=29588c2b6594ab0cf4b156290c074d63ced11da2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=255&job=&cmd_args= [2023-02-17T19:34:10.467Z] -> Pinging Codecov [2023-02-17T19:34:10.467Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-255&commit=29588c2b6594ab0cf4b156290c074d63ced11da2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=255&job=&cmd_args= [2023-02-17T19:34:10.728Z] -> Uploading to [2023-02-17T19:34:10.728Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/4E5D53B4F1F92C436F7061BF334D961C/29588c2b6594ab0cf4b156290c074d63ced11da2/43bbfaf4-4071-4749-a8e0-8949c6d2caea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T193410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eb3b40b6445eecc37c9d12a82e78311834f65b5947793b9802043f5d7df5d77 [2023-02-17T19:34:10.728Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T19:34:10.728Z] Dload Upload Total Spent Left Speed [2023-02-17T19:34:10.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9288 --:--:-- --:--:-- --:--:-- 9288 [2023-02-17T19:34:10.987Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/29588c2b6594ab0cf4b156290c074d63ced11da2 [Pipeline] } [2023-02-17T19:34:11.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-17T19:34:12.747Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-255/archives ] [2023-02-17T19:34:12.747Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-255/archives [2023-02-17T19:34:12.747Z] total 16 [2023-02-17T19:34:12.747Z] drwxr-xr-x 3 root root 4096 Feb 17 19:27 . [2023-02-17T19:34:12.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 19:27 .. [2023-02-17T19:34:12.747Z] drwxr-xr-x 2 root root 4096 Feb 17 19:27 cost [2023-02-17T19:34:12.747Z] -rw-r--r-- 1 root root 86 Feb 17 19:27 cost.csv [2023-02-17T19:34:12.747Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-255/archives [2023-02-17T19:34:12.747Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-255/archives [2023-02-17T19:34:12.747Z] total 16 [2023-02-17T19:34:12.747Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 19:27 . [2023-02-17T19:34:12.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 19:27 .. [2023-02-17T19:34:12.747Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 19:27 cost [2023-02-17T19:34:12.747Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 19:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:13.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:13.972Z] ---> package-listing.sh [2023-02-17T19:34:13.972Z] ++ facter osfamily [2023-02-17T19:34:13.972Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T19:34:14.231Z] + OS_FAMILY=debian [2023-02-17T19:34:14.231Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-255 [2023-02-17T19:34:14.231Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T19:34:14.231Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T19:34:14.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T19:34:14.231Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T19:34:14.231Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-255 ']' [2023-02-17T19:34:14.231Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T19:34:14.231Z] + case "${OS_FAMILY}" in [2023-02-17T19:34:14.231Z] + dpkg -l [2023-02-17T19:34:14.231Z] + grep '^ii' [2023-02-17T19:34:14.231Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T19:34:14.231Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T19:34:14.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T19:34:14.231Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-255 ']' [2023-02-17T19:34:14.231Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-255/archives/ [2023-02-17T19:34:14.231Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-255/archives/ [Pipeline] echo [2023-02-17T19:34:14.266Z] 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-255/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T19:34:14.558Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T19:34:15.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T19:34:15.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T19:34:15.340Z] prd-ubuntu20.04-docker-8c-8g-6491 does not seem to be running inside a container [2023-02-17T19:34:15.373Z] $ 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-255/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-255 -v /w/workspace/gexfoundry_device-rest-go_PR-255:/w/workspace/gexfoundry_device-rest-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-255@tmp:/w/workspace/gexfoundry_device-rest-go_PR-255@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-02-17T19:34:15.599Z] $ docker top 7199435b8346022076dee69e8ada712f37e2eeeb719d3dddd6b76f7d30d320c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T19:34:15.994Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T19:34:16.302Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T19:34:16.614Z] + ls /var/log/sa-host [2023-02-17T19:34:16.614Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T19:34:16.846Z] provisioning config files... [2023-02-17T19:34:16.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-255@tmp/config7789645495741378493tmp [Pipeline] { [Pipeline] echo [2023-02-17T19:34:16.913Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:17.227Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T19:34:17.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:17.667Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T19:34:17.702Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:18.012Z] ---> sudo-logs.sh [2023-02-17T19:34:18.012Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T19:34:18.098Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:18.412Z] ---> job-cost.sh [2023-02-17T19:34:18.412Z] lf-activate-venv: SKIPPING [2023-02-17T19:34:18.412Z] DEBUG: total: 0.2199999988079071 [2023-02-17T19:34:18.412Z] INFO: Retrieving Stack Cost... [2023-02-17T19:34:18.982Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T19:34:19.243Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T19:34:19.283Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T19:34:19.588Z] ---> logs-deploy.sh [2023-02-17T19:34:19.588Z] lf-activate-venv: SKIPPING [2023-02-17T19:34:19.588Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-255/1 [2023-02-17T19:34:19.588Z] INFO: archiving workspace using pattern(s): [2023-02-17T19:34:20.525Z] Archives upload complete. [2023-02-17T19:34:20.525Z] INFO: archiving logs to Nexus