Pull request #250 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d933cdb363df89acba48e42ae74d50ccf49259ea+b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (0e7d4f8f93f7241b07beb5a5e194a86c1de04c24) 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-ssh14812106847934295768.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-ssh10405556257818100387.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-250/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-250/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16994559124096707080.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-250/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18165131959224927952.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-ssh342253295897167240.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-250/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-250/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9309456817039322785.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-5605 in /w/workspace/gexfoundry_device-rest-go_PR-250 [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-250 # 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 Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit d933cdb363df89acba48e42ae74d50ccf49259ea Merge succeeded, producing d933cdb363df89acba48e42ae74d50ccf49259ea Checking out Revision d933cdb363df89acba48e42ae74d50ccf49259ea (PR-250) 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 > 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/250/head:refs/remotes/origin/PR-250 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d933cdb363df89acba48e42ae74d50ccf49259ea # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d933cdb363df89acba48e42ae74d50ccf49259ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T20:59:03.166Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T20:59:03.351Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T20:59:03.463Z] ========================================================= [2023-02-13T20:59:03.463Z] EdgeX Global Pipelines Version Info [2023-02-13T20:59:03.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T20:59:04.207Z] ------------------- [2023-02-13T20:59:04.207Z] stable info: [2023-02-13T20:59:04.207Z] ------------------- [2023-02-13T20:59:04.207Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T20:59:04.207Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T20:59:04.207Z] Message: update stable to v1.0.244 [2023-02-13T20:59:04.776Z] ------------------- [2023-02-13T20:59:04.776Z] experimental info: [2023-02-13T20:59:04.776Z] ------------------- [2023-02-13T20:59:04.776Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T20:59:04.776Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T20:59:04.776Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T20:59:05.069Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-13T20:59:05.110Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-13T20:59:05.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T20:59:05.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T20:59:05.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T20:59:05.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T20:59:05.313Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T20:59:05.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T20:59:05.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T20:59:05.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T20:59:05.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T20:59:05.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-13T20:59:05.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T20:59:05.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T20:59:05.649Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T20:59:05.690Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T20:59:05.731Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T20:59:05.771Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T20:59:05.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T20:59:05.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T20:59:05.893Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T20:59:05.931Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T20:59:05.971Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T20:59:06.017Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T20:59:06.061Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T20:59:06.107Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T20:59:06.146Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T20:59:06.186Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-250 [Pipeline] echo [2023-02-13T20:59:06.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-250 [Pipeline] echo [2023-02-13T20:59:06.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-250 [Pipeline] echo [2023-02-13T20:59:06.307Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d933cdb363df89acba48e42ae74d50ccf49259ea [Pipeline] echo [2023-02-13T20:59:06.343Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d933cdb [Pipeline] echo [2023-02-13T20:59:06.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T20:59:06.482Z] provisioning config files... [2023-02-13T20:59:06.500Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-250@tmp/config8737213203196921164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T20:59:06.837Z] ---> docker-login.sh [2023-02-13T20:59:06.837Z] nexus3.edgexfoundry.org:10001 [2023-02-13T20:59:07.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:07.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:07.098Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:07.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:07.098Z] [2023-02-13T20:59:07.098Z] Login Succeeded [2023-02-13T20:59:07.098Z] nexus3.edgexfoundry.org:10002 [2023-02-13T20:59:07.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:07.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:07.098Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:07.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:07.098Z] [2023-02-13T20:59:07.098Z] Login Succeeded [2023-02-13T20:59:07.098Z] nexus3.edgexfoundry.org:10003 [2023-02-13T20:59:07.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:07.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:07.358Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:07.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:07.358Z] [2023-02-13T20:59:07.358Z] Login Succeeded [2023-02-13T20:59:07.358Z] nexus3.edgexfoundry.org:10004 [2023-02-13T20:59:07.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:07.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:07.358Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:07.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:07.358Z] [2023-02-13T20:59:07.358Z] Login Succeeded [2023-02-13T20:59:07.358Z] docker.io [2023-02-13T20:59:07.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:07.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:07.618Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:07.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:07.618Z] [2023-02-13T20:59:07.618Z] Login Succeeded [2023-02-13T20:59:07.618Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T20:59:07.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T20:59:08.225Z] + git rev-list -1 --merges d933cdb363df89acba48e42ae74d50ccf49259ea~1..d933cdb363df89acba48e42ae74d50ccf49259ea [Pipeline] echo [2023-02-13T20:59:08.283Z] -----------> git rev-list -1 --merges d933cdb363df89acba48e42ae74d50ccf49259ea~1..d933cdb363df89acba48e42ae74d50ccf49259ea d933cdb363df89acba48e42ae74d50ccf49259ea [false] [Pipeline] sh [2023-02-13T20:59:08.590Z] + git log --format=format:%s -1 d933cdb363df89acba48e42ae74d50ccf49259ea [Pipeline] echo [2023-02-13T20:59:08.623Z] ========================================================= [2023-02-13T20:59:08.623Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T20:59:08.623Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T20:59:09.042Z] + git log --format=format:%s -1 d933cdb363df89acba48e42ae74d50ccf49259ea [Pipeline] echo [2023-02-13T20:59:09.071Z] [semverPrep] GIT_COMMIT: d933cdb363df89acba48e42ae74d50ccf49259ea, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-13T20:59:09.103Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T20:59:09.477Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T20:59:09.477Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T20:59:09.477Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T20:59:09.477Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T20:59:09.477Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T20:59:09.477Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T20:59:09.477Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T20:59:09.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T20:59:09.916Z] [2023-02-13T20:59:09.916Z] 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-13T20:59:10.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T20:59:10.290Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T20:59:10.290Z] b85a868b505f: Pulling fs layer [2023-02-13T20:59:10.290Z] e2be974225ed: Pulling fs layer [2023-02-13T20:59:10.290Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T20:59:10.290Z] 988bab9f4d93: Pulling fs layer [2023-02-13T20:59:10.290Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T20:59:10.290Z] eaf3925da568: Pulling fs layer [2023-02-13T20:59:10.290Z] bab4dde63d76: Pulling fs layer [2023-02-13T20:59:10.290Z] bde34c3a00c8: Pulling fs layer [2023-02-13T20:59:10.290Z] b352a97aabf1: Pulling fs layer [2023-02-13T20:59:10.290Z] 4872d77fe225: Pulling fs layer [2023-02-13T20:59:10.290Z] 5851b861e8e6: Pulling fs layer [2023-02-13T20:59:10.290Z] b352a97aabf1: Waiting [2023-02-13T20:59:10.290Z] 4872d77fe225: Waiting [2023-02-13T20:59:10.290Z] 1469e6f7b9e6: Waiting [2023-02-13T20:59:10.290Z] eaf3925da568: Waiting [2023-02-13T20:59:10.290Z] 988bab9f4d93: Waiting [2023-02-13T20:59:10.290Z] bab4dde63d76: Waiting [2023-02-13T20:59:10.290Z] bde34c3a00c8: Waiting [2023-02-13T20:59:10.290Z] 5851b861e8e6: Waiting [2023-02-13T20:59:10.290Z] e2be974225ed: Verifying Checksum [2023-02-13T20:59:10.290Z] e2be974225ed: Download complete [2023-02-13T20:59:10.290Z] 988bab9f4d93: Verifying Checksum [2023-02-13T20:59:10.290Z] 988bab9f4d93: Download complete [2023-02-13T20:59:10.563Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T20:59:10.563Z] 1469e6f7b9e6: Download complete [2023-02-13T20:59:10.563Z] eaf3925da568: Verifying Checksum [2023-02-13T20:59:10.563Z] eaf3925da568: Download complete [2023-02-13T20:59:10.563Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T20:59:10.563Z] 339a4e72a1f5: Download complete [2023-02-13T20:59:10.563Z] bde34c3a00c8: Download complete [2023-02-13T20:59:10.563Z] b352a97aabf1: Download complete [2023-02-13T20:59:10.563Z] 4872d77fe225: Verifying Checksum [2023-02-13T20:59:10.563Z] 4872d77fe225: Download complete [2023-02-13T20:59:10.824Z] 5851b861e8e6: Verifying Checksum [2023-02-13T20:59:10.824Z] 5851b861e8e6: Download complete [2023-02-13T20:59:10.824Z] b85a868b505f: Verifying Checksum [2023-02-13T20:59:10.824Z] b85a868b505f: Download complete [2023-02-13T20:59:11.083Z] bab4dde63d76: Verifying Checksum [2023-02-13T20:59:11.083Z] bab4dde63d76: Download complete [2023-02-13T20:59:12.019Z] b85a868b505f: Pull complete [2023-02-13T20:59:12.020Z] e2be974225ed: Pull complete [2023-02-13T20:59:12.588Z] 339a4e72a1f5: Pull complete [2023-02-13T20:59:12.588Z] 988bab9f4d93: Pull complete [2023-02-13T20:59:12.848Z] 1469e6f7b9e6: Pull complete [2023-02-13T20:59:12.848Z] eaf3925da568: Pull complete [2023-02-13T20:59:14.752Z] bab4dde63d76: Pull complete [2023-02-13T20:59:14.752Z] bde34c3a00c8: Pull complete [2023-02-13T20:59:14.752Z] b352a97aabf1: Pull complete [2023-02-13T20:59:14.752Z] 4872d77fe225: Pull complete [2023-02-13T20:59:15.012Z] 5851b861e8e6: Pull complete [2023-02-13T20:59:15.012Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T20:59:15.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T20:59:15.012Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T20:59:15.248Z] prd-ubuntu20.04-docker-8c-8g-5605 does not seem to be running inside a container [2023-02-13T20:59:15.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-250 -v /w/workspace/gexfoundry_device-rest-go_PR-250:/w/workspace/gexfoundry_device-rest-go_PR-250:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-250@tmp:/w/workspace/gexfoundry_device-rest-go_PR-250@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-13T20:59:19.512Z] $ docker top c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a -eo pid,comm [2023-02-13T20:59:19.570Z] 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-13T20:59:19.570Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T20:59:19.723Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T20:59:19.723Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T20:59:19.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T20:59:19.843Z] $ docker exec c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a ssh-agent [2023-02-13T20:59:19.963Z] SSH_AUTH_SOCK=/tmp/ssh-2MrsCttmqCP1/agent.32 [2023-02-13T20:59:19.963Z] SSH_AGENT_PID=38 [2023-02-13T20:59:19.970Z] Running ssh-add (command line suppressed) [2023-02-13T20:59:20.070Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-250@tmp/private_key_6621219991257632568.key (/w/workspace/gexfoundry_device-rest-go_PR-250@tmp/private_key_6621219991257632568.key) [2023-02-13T20:59:20.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T20:59:20.418Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T20:59:20.443Z] $ docker exec --env ******** --env ******** c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a ssh-agent -k [2023-02-13T20:59:20.546Z] unset SSH_AUTH_SOCK; [2023-02-13T20:59:20.546Z] unset SSH_AGENT_PID; [2023-02-13T20:59:20.546Z] echo Agent pid 38 killed; [2023-02-13T20:59:20.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T20:59:20.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T20:59:20.646Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T20:59:20.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T20:59:20.751Z] $ docker exec c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a ssh-agent [2023-02-13T20:59:20.860Z] SSH_AUTH_SOCK=/tmp/ssh-sRAQGDTMkufA/agent.70 [2023-02-13T20:59:20.860Z] SSH_AGENT_PID=76 [2023-02-13T20:59:20.865Z] Running ssh-add (command line suppressed) [2023-02-13T20:59:20.958Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-250@tmp/private_key_7836307964264464938.key (/w/workspace/gexfoundry_device-rest-go_PR-250@tmp/private_key_7836307964264464938.key) [2023-02-13T20:59:20.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T20:59:21.302Z] + git semver init [2023-02-13T20:59:21.873Z] 2023-02-13 20:59:21,619 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T20:59:21.873Z] 2023-02-13 20:59:21,620 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-250/.semver [2023-02-13T20:59:21.873Z] 2023-02-13 20:59:21,621 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-250/.semver [2023-02-13T20:59:21.873Z] 2023-02-13 20:59:21,621 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-250/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-250, universal_newlines=False, shell=None, istream=None) [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:22,996 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-250/.git/info/exclude [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:22,996 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-250/.semver/PR-250 with force:False [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:22,996 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-250/.semver/PR-250 [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:23,001 [execute] INFO git cat-file --batch-check [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:23,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-250/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:23,009 [execute] INFO git cat-file --batch [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:23,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-250/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T20:59:23.252Z] 2023-02-13 20:59:23,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-250/.semver/PR-250 [2023-02-13T20:59:23.252Z] 0.0.0 [Pipeline] } [2023-02-13T20:59:23.276Z] $ docker exec --env ******** --env ******** c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a ssh-agent -k [2023-02-13T20:59:23.366Z] unset SSH_AUTH_SOCK; [2023-02-13T20:59:23.367Z] unset SSH_AGENT_PID; [2023-02-13T20:59:23.367Z] echo Agent pid 76 killed; [2023-02-13T20:59:23.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T20:59:23.821Z] + git semver [Pipeline] } [2023-02-13T20:59:24.344Z] $ docker stop --time=1 c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a [2023-02-13T20:59:25.630Z] $ docker rm -f --volumes c974fb9105d4329c68cd532aa380cd1cf1613a6ea7198378bd744fc3c947136a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T20:59:26.035Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T20:59:26.323Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T20:59:26.343Z] [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-13T20:59:26.957Z] provisioning config files... [2023-02-13T20:59:26.964Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-250@tmp/config16206724341640558568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T20:59:27.319Z] ---> docker-login.sh [2023-02-13T20:59:27.319Z] nexus3.edgexfoundry.org:10001 [2023-02-13T20:59:27.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:27.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:27.319Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:27.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:27.319Z] [2023-02-13T20:59:27.319Z] Login Succeeded [2023-02-13T20:59:27.319Z] nexus3.edgexfoundry.org:10002 [2023-02-13T20:59:27.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:27.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:27.319Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:27.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:27.319Z] [2023-02-13T20:59:27.319Z] Login Succeeded [2023-02-13T20:59:27.319Z] nexus3.edgexfoundry.org:10003 [2023-02-13T20:59:27.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:27.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:27.577Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:27.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:27.577Z] [2023-02-13T20:59:27.577Z] Login Succeeded [2023-02-13T20:59:27.577Z] nexus3.edgexfoundry.org:10004 [2023-02-13T20:59:27.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:27.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:27.577Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:27.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:27.577Z] [2023-02-13T20:59:27.577Z] Login Succeeded [2023-02-13T20:59:27.577Z] docker.io [2023-02-13T20:59:27.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T20:59:27.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T20:59:27.836Z] Configure a credential helper to remove this warning. See [2023-02-13T20:59:27.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T20:59:27.836Z] [2023-02-13T20:59:27.836Z] Login Succeeded [2023-02-13T20:59:28.094Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T20:59:28.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T20:59:28.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T20:59:28.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T20:59:28.374Z] ========================================================= [2023-02-13T20:59:28.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T20:59:28.374Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T20:59:28.858Z] + 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-13T20:59:28.858Z] Sending build context to Docker daemon 10.83MB [2023-02-13T20:59:28.858Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T20:59:28.858Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T20:59:28.858Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T20:59:28.858Z] 213ec9aee27d: Pulling fs layer [2023-02-13T20:59:28.858Z] 4583459ba037: Pulling fs layer [2023-02-13T20:59:28.858Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T20:59:28.858Z] 53926ce57604: Pulling fs layer [2023-02-13T20:59:28.858Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T20:59:28.858Z] 22ff95d597cd: Pulling fs layer [2023-02-13T20:59:28.858Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T20:59:28.858Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T20:59:28.858Z] a7acece74701: Pulling fs layer [2023-02-13T20:59:28.858Z] 53926ce57604: Waiting [2023-02-13T20:59:28.858Z] 12d6caf4c0d1: Waiting [2023-02-13T20:59:28.858Z] 21b2b0c7a3f4: Waiting [2023-02-13T20:59:28.858Z] 96b7cbca73a9: Waiting [2023-02-13T20:59:28.858Z] 22ff95d597cd: Waiting [2023-02-13T20:59:28.858Z] a7acece74701: Waiting [2023-02-13T20:59:28.858Z] 93c1e223e6f2: Download complete [2023-02-13T20:59:29.127Z] 4583459ba037: Verifying Checksum [2023-02-13T20:59:29.127Z] 4583459ba037: Download complete [2023-02-13T20:59:29.127Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T20:59:29.127Z] 21b2b0c7a3f4: Download complete [2023-02-13T20:59:29.127Z] 22ff95d597cd: Download complete [2023-02-13T20:59:29.127Z] 213ec9aee27d: Verifying Checksum [2023-02-13T20:59:29.127Z] 213ec9aee27d: Download complete [2023-02-13T20:59:29.127Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T20:59:29.127Z] 12d6caf4c0d1: Download complete [2023-02-13T20:59:29.396Z] 213ec9aee27d: Pull complete [2023-02-13T20:59:29.397Z] 4583459ba037: Pull complete [2023-02-13T20:59:29.397Z] 93c1e223e6f2: Pull complete [2023-02-13T20:59:30.400Z] a7acece74701: Verifying Checksum [2023-02-13T20:59:30.400Z] a7acece74701: Download complete [2023-02-13T20:59:30.400Z] 53926ce57604: Verifying Checksum [2023-02-13T20:59:30.400Z] 53926ce57604: Download complete [2023-02-13T20:59:30.664Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T20:59:30.664Z] 96b7cbca73a9: Download complete [2023-02-13T20:59:33.952Z] 53926ce57604: Pull complete [2023-02-13T20:59:33.952Z] 21b2b0c7a3f4: Pull complete [2023-02-13T20:59:34.211Z] 22ff95d597cd: Pull complete [2023-02-13T20:59:34.211Z] 12d6caf4c0d1: Pull complete [2023-02-13T20:59:36.113Z] 96b7cbca73a9: Pull complete [2023-02-13T20:59:37.049Z] a7acece74701: Pull complete [2023-02-13T20:59:37.049Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T20:59:37.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T20:59:37.049Z] ---> db6d94c90886 [2023-02-13T20:59:37.049Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T20:59:41.777Z] Still waiting to schedule task [2023-02-13T20:59:41.777Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-13T20:59:45.184Z] ---> Running in 51e83fe40536 [2023-02-13T20:59:45.184Z] Removing intermediate container 51e83fe40536 [2023-02-13T20:59:45.184Z] ---> e700764feae3 [2023-02-13T20:59:45.184Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T20:59:45.184Z] ---> Running in c6894350c625 [2023-02-13T20:59:45.184Z] Removing intermediate container c6894350c625 [2023-02-13T20:59:45.184Z] ---> 6ee47df98918 [2023-02-13T20:59:45.184Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T20:59:45.184Z] ---> Running in ed98fed2898b [2023-02-13T20:59:45.184Z] Removing intermediate container ed98fed2898b [2023-02-13T20:59:45.184Z] ---> d5ecf9ae2495 [2023-02-13T20:59:45.184Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T20:59:45.184Z] ---> Running in 90ef4115659a [2023-02-13T20:59:45.184Z] Removing intermediate container 90ef4115659a [2023-02-13T20:59:45.184Z] ---> d8e83c777ca5 [2023-02-13T20:59:45.184Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T20:59:45.184Z] ---> Running in 6999197d4323 [2023-02-13T20:59:45.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T20:59:45.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T20:59:45.184Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T20:59:45.184Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T20:59:45.184Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T20:59:45.184Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T20:59:45.443Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T20:59:45.443Z] OK: 216 MiB in 55 packages [2023-02-13T20:59:46.019Z] Removing intermediate container 6999197d4323 [2023-02-13T20:59:46.019Z] ---> 531f4b005df6 [2023-02-13T20:59:46.019Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-13T20:59:46.019Z] ---> Running in 12ba5b48955b [2023-02-13T20:59:46.019Z] Removing intermediate container 12ba5b48955b [2023-02-13T20:59:46.019Z] ---> 43214400b94f [2023-02-13T20:59:46.019Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-13T20:59:46.019Z] ---> e69f7591e496 [2023-02-13T20:59:46.019Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T20:59:46.019Z] ---> Running in be2663f4288b [2023-02-13T21:00:24.750Z] Removing intermediate container be2663f4288b [2023-02-13T21:00:24.750Z] ---> 1446ba6e87dc [2023-02-13T21:00:24.750Z] Step 11/12 : COPY . . [2023-02-13T21:00:24.750Z] ---> 645d0c892696 [2023-02-13T21:00:24.750Z] Step 12/12 : RUN $MAKE [2023-02-13T21:00:24.750Z] ---> Running in e67b0c6116b5 [2023-02-13T21:00:25.009Z] noop [2023-02-13T21:00:25.269Z] Removing intermediate container e67b0c6116b5 [2023-02-13T21:00:25.269Z] ---> b1c9ababfd5f [2023-02-13T21:00:25.269Z] Successfully built b1c9ababfd5f [2023-02-13T21:00:25.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:00:25.725Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T21:00:25.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:00:25.876Z] prd-ubuntu20.04-docker-8c-8g-5605 does not seem to be running inside a container [2023-02-13T21:00:25.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-250 -v /w/workspace/gexfoundry_device-rest-go_PR-250:/w/workspace/gexfoundry_device-rest-go_PR-250:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-250@tmp:/w/workspace/gexfoundry_device-rest-go_PR-250@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-13T21:00:26.232Z] $ docker top 8172db9ab3a4121589c7c36927ecaeea7889a5dd7c2646fe53d18faac9289214 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T21:00:26.625Z] + go version [2023-02-13T21:00:26.625Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T21:00:26.654Z] $ docker stop --time=1 8172db9ab3a4121589c7c36927ecaeea7889a5dd7c2646fe53d18faac9289214 [2023-02-13T21:00:27.919Z] $ docker rm -f --volumes 8172db9ab3a4121589c7c36927ecaeea7889a5dd7c2646fe53d18faac9289214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:00:28.638Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T21:00:28.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:00:28.785Z] prd-ubuntu20.04-docker-8c-8g-5605 does not seem to be running inside a container [2023-02-13T21:00:28.813Z] $ 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-250 -v /w/workspace/gexfoundry_device-rest-go_PR-250:/w/workspace/gexfoundry_device-rest-go_PR-250:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-250@tmp:/w/workspace/gexfoundry_device-rest-go_PR-250@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-13T21:00:29.143Z] $ docker top 126aa9a9b53067b8ae58a414d23f2e2ffad00ae98791002ca85d42875115c042 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T21:00:29.530Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-250 [Pipeline] fileExists [Pipeline] sh [2023-02-13T21:00:29.896Z] + make test [2023-02-13T21:00:29.896Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T21:00:30.154Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-13T21:00:40.120Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-13T21:00:40.120Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-13T21:00:46.678Z] 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-13T21:00:46.678Z] go vet ./... [2023-02-13T21:00:49.204Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T21:00:49.204Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T21:00:49.204Z] ./bin/test-attribution-txt.sh [2023-02-13T21:00:49.204Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T21:00:49.204Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T21:00:49.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T21:00:49.276Z] $ docker stop --time=1 126aa9a9b53067b8ae58a414d23f2e2ffad00ae98791002ca85d42875115c042 [2023-02-13T21:00:52.464Z] $ docker rm -f --volumes 126aa9a9b53067b8ae58a414d23f2e2ffad00ae98791002ca85d42875115c042 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T21:00:52.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T21:00:53.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T21:00:53.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T21:00:54.210Z] + ls -al . [2023-02-13T21:00:54.210Z] total 188 [2023-02-13T21:00:54.210Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 21:00 . [2023-02-13T21:00:54.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 20:59 .. [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 13 20:59 .dockerignore [2023-02-13T21:00:54.210Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 21:00 .git [2023-02-13T21:00:54.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 20:59 .github [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 13 20:59 .gitignore [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 20:59 .golangci.yml [2023-02-13T21:00:54.210Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 20:59 .semver [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 13 20:59 Attribution.txt [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 13 20:59 CHANGELOG.md [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 13 20:59 Dockerfile [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 20:59 GOVERNANCE.md [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 20:59 Jenkinsfile [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 20:59 LICENSE [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 13 20:59 Makefile [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 13 20:59 OWNERS.md [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 13 20:59 README.md [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 20:59 VERSION [2023-02-13T21:00:54.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 20:59 bin [2023-02-13T21:00:54.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 20:59 cmd [2023-02-13T21:00:54.210Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 13 21:00 coverage.out [2023-02-13T21:00:54.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 20:59 driver [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 13 20:59 go.mod [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 13 20:59 go.sum [2023-02-13T21:00:54.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 20:59 snap [2023-02-13T21:00:54.210Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 13 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:00:54.597Z] + 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=d933cdb363df89acba48e42ae74d50ccf49259ea --label arch=amd64 --label version=0.0.0 . [2023-02-13T21:00:54.597Z] Sending build context to Docker daemon 10.84MB [2023-02-13T21:00:54.597Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T21:00:54.597Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T21:00:54.597Z] ---> b1c9ababfd5f [2023-02-13T21:00:54.597Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T21:00:54.856Z] ---> Running in 64d460960783 [2023-02-13T21:00:54.856Z] Removing intermediate container 64d460960783 [2023-02-13T21:00:54.856Z] ---> 9f53d12a815f [2023-02-13T21:00:54.856Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T21:00:54.856Z] ---> Running in 66cd4a446b8c [2023-02-13T21:00:54.856Z] Removing intermediate container 66cd4a446b8c [2023-02-13T21:00:54.856Z] ---> 72c662e5a0c9 [2023-02-13T21:00:54.856Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T21:00:54.856Z] ---> Running in 9d1dbc2074cf [2023-02-13T21:00:55.115Z] Removing intermediate container 9d1dbc2074cf [2023-02-13T21:00:55.115Z] ---> 741b1ebf68d2 [2023-02-13T21:00:55.115Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T21:00:55.115Z] ---> Running in ab4f122325d5 [2023-02-13T21:00:55.115Z] Removing intermediate container ab4f122325d5 [2023-02-13T21:00:55.115Z] ---> ddb2d796a8fb [2023-02-13T21:00:55.115Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T21:00:55.115Z] ---> Running in b7106943efd9 [2023-02-13T21:00:55.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T21:00:55.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T21:00:55.891Z] OK: 216 MiB in 55 packages [2023-02-13T21:00:56.151Z] Removing intermediate container b7106943efd9 [2023-02-13T21:00:56.151Z] ---> 966eb45ced20 [2023-02-13T21:00:56.151Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-13T21:00:56.151Z] ---> Running in 671cfc1e61ee [2023-02-13T21:00:56.151Z] Removing intermediate container 671cfc1e61ee [2023-02-13T21:00:56.151Z] ---> f06bef7b73ea [2023-02-13T21:00:56.151Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-13T21:00:56.411Z] ---> db7fb3e041b2 [2023-02-13T21:00:56.411Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T21:00:56.411Z] ---> Running in 1cec083d29e3 [2023-02-13T21:00:57.526Z] Removing intermediate container 1cec083d29e3 [2023-02-13T21:00:57.526Z] ---> 271124222692 [2023-02-13T21:00:57.526Z] Step 11/25 : COPY . . [2023-02-13T21:00:57.785Z] ---> f990b1c8ad6d [2023-02-13T21:00:57.785Z] Step 12/25 : RUN $MAKE [2023-02-13T21:00:57.785Z] ---> Running in 7d49bd6cb113 [2023-02-13T21:00:58.045Z] 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-13T21:01:24.598Z] Removing intermediate container 7d49bd6cb113 [2023-02-13T21:01:24.598Z] ---> 66f86ec6f214 [2023-02-13T21:01:24.598Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T21:01:24.598Z] 3.16: Pulling from library/alpine [2023-02-13T21:01:24.598Z] ef5531b6e74e: Pulling fs layer [2023-02-13T21:01:24.598Z] ef5531b6e74e: Download complete [2023-02-13T21:01:24.598Z] ef5531b6e74e: Pull complete [2023-02-13T21:01:24.598Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T21:01:24.598Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T21:01:24.598Z] ---> dfd21b5a31f5 [2023-02-13T21:01:24.598Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T21:01:24.598Z] ---> Running in 0b00f2791805 [2023-02-13T21:01:24.598Z] Removing intermediate container 0b00f2791805 [2023-02-13T21:01:24.598Z] ---> 0ba81333ba06 [2023-02-13T21:01:24.598Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-13T21:01:24.598Z] ---> Running in e6fc5f78e1d3 [2023-02-13T21:01:24.598Z] Removing intermediate container e6fc5f78e1d3 [2023-02-13T21:01:24.598Z] ---> 95ea6d9828b1 [2023-02-13T21:01:24.598Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-13T21:01:24.598Z] ---> Running in 45ff8b469090 [2023-02-13T21:01:24.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T21:01:24.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T21:01:24.598Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T21:01:24.598Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T21:01:24.598Z] OK: 6 MiB in 15 packages [2023-02-13T21:01:24.598Z] Removing intermediate container 45ff8b469090 [2023-02-13T21:01:24.598Z] ---> 0661bdc34e1d [2023-02-13T21:01:24.598Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-13T21:01:24.598Z] ---> 335306fc7174 [2023-02-13T21:01:24.598Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-13T21:01:24.598Z] ---> 5f8f45c49d67 [2023-02-13T21:01:24.598Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-13T21:01:24.598Z] ---> 67f1229163df [2023-02-13T21:01:24.598Z] Step 20/25 : EXPOSE 59986 [2023-02-13T21:01:24.598Z] ---> Running in 17e065c4a2ca [2023-02-13T21:01:24.598Z] Removing intermediate container 17e065c4a2ca [2023-02-13T21:01:24.598Z] ---> 8b9992b747be [2023-02-13T21:01:24.598Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-13T21:01:24.598Z] ---> Running in b25fc22095c9 [2023-02-13T21:01:24.598Z] Removing intermediate container b25fc22095c9 [2023-02-13T21:01:24.598Z] ---> 3a2fb6317ef7 [2023-02-13T21:01:24.598Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-13T21:01:24.598Z] ---> Running in 2b0b11166966 [2023-02-13T21:01:24.598Z] Removing intermediate container 2b0b11166966 [2023-02-13T21:01:24.598Z] ---> 9859c9c2f864 [2023-02-13T21:01:24.598Z] Step 23/25 : LABEL arch=amd64 [2023-02-13T21:01:24.598Z] ---> Running in 99c68622ec87 [2023-02-13T21:01:24.599Z] Removing intermediate container 99c68622ec87 [2023-02-13T21:01:24.599Z] ---> 5b45a3ce7b2f [2023-02-13T21:01:24.599Z] Step 24/25 : LABEL git_sha=d933cdb363df89acba48e42ae74d50ccf49259ea [2023-02-13T21:01:24.599Z] ---> Running in f111be5592bb [2023-02-13T21:01:24.599Z] Removing intermediate container f111be5592bb [2023-02-13T21:01:24.599Z] ---> 316e6cf7f04e [2023-02-13T21:01:24.599Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T21:01:24.599Z] ---> Running in 499a2478ee8c [2023-02-13T21:01:24.599Z] Removing intermediate container 499a2478ee8c [2023-02-13T21:01:24.599Z] ---> f10e86c5a622 [2023-02-13T21:01:24.599Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T21:01:24.599Z] Successfully built f10e86c5a622 [2023-02-13T21:01:24.599Z] 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-13T21:01:25.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T21:01:25.446Z] [2023-02-13T21:01:25.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:01:25.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T21:01:25.821Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T21:01:25.821Z] 5eb5b503b376: Pulling fs layer [2023-02-13T21:01:25.821Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T21:01:25.821Z] ec43610c2a17: Pulling fs layer [2023-02-13T21:01:25.821Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T21:01:25.821Z] 33b1e0a273af: Pulling fs layer [2023-02-13T21:01:25.821Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T21:01:25.821Z] 2f39f015ded8: Pulling fs layer [2023-02-13T21:01:25.821Z] 33b1e0a273af: Waiting [2023-02-13T21:01:25.821Z] 5d3b04190fa2: Waiting [2023-02-13T21:01:25.821Z] 3a2ae6a8a46f: Waiting [2023-02-13T21:01:25.821Z] 2f39f015ded8: Waiting [2023-02-13T21:01:25.821Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T21:01:25.821Z] 5c69ac0246d0: Download complete [2023-02-13T21:01:25.821Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T21:01:25.821Z] 3a2ae6a8a46f: Download complete [2023-02-13T21:01:26.084Z] 33b1e0a273af: Verifying Checksum [2023-02-13T21:01:26.084Z] 33b1e0a273af: Download complete [2023-02-13T21:01:26.084Z] 5d3b04190fa2: Download complete [2023-02-13T21:01:26.084Z] ec43610c2a17: Verifying Checksum [2023-02-13T21:01:26.084Z] ec43610c2a17: Download complete [2023-02-13T21:01:26.350Z] 5eb5b503b376: Verifying Checksum [2023-02-13T21:01:26.350Z] 5eb5b503b376: Download complete [2023-02-13T21:01:26.936Z] 2f39f015ded8: Download complete [2023-02-13T21:01:27.196Z] 5eb5b503b376: Pull complete [2023-02-13T21:01:27.456Z] 5c69ac0246d0: Pull complete [2023-02-13T21:01:28.021Z] ec43610c2a17: Pull complete [2023-02-13T21:01:28.021Z] 3a2ae6a8a46f: Pull complete [2023-02-13T21:01:28.021Z] 33b1e0a273af: Pull complete [2023-02-13T21:01:28.280Z] 5d3b04190fa2: Pull complete [2023-02-13T21:01:32.464Z] 2f39f015ded8: Pull complete [2023-02-13T21:01:32.464Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T21:01:32.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T21:01:32.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:01:32.674Z] prd-ubuntu20.04-docker-8c-8g-5605 does not seem to be running inside a container [2023-02-13T21:01:32.699Z] $ 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-250 -v /w/workspace/gexfoundry_device-rest-go_PR-250:/w/workspace/gexfoundry_device-rest-go_PR-250:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-250@tmp:/w/workspace/gexfoundry_device-rest-go_PR-250@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-13T21:01:39.556Z] $ docker top 3f83639c1c0443731cf82df86f1078f447205c58973651f6590ea15de3b46a8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:01:39.987Z] ---> job-cost.sh [2023-02-13T21:01:39.987Z] lf-activate-venv: SKIPPING [2023-02-13T21:01:39.987Z] INFO: No Stack... [2023-02-13T21:01:40.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T21:01:40.813Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T21:01:41.135Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-250/archives/cost.csv [2023-02-13T21:01:41.135Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T21:01:41.179Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] [2023-02-13T21:01:41.183Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] did not exist. Created. [2023-02-13T21:01:41.183Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T21:01:41.576Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T21:01:41.628Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T21:01:41.651Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T21:01:41.724Z] $ docker stop --time=1 3f83639c1c0443731cf82df86f1078f447205c58973651f6590ea15de3b46a8c [2023-02-13T21:01:42.855Z] $ docker rm -f --volumes 3f83639c1c0443731cf82df86f1078f447205c58973651f6590ea15de3b46a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T21:01:54.429Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5607 in /w/workspace/gexfoundry_device-rest-go_PR-250 [Pipeline] { [Pipeline] ws [2023-02-13T21:01:54.493Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T21:01:54.566Z] The recommended git tool is: git [2023-02-13T21:02:00.152Z] using credential edgex-jenkins-ssh [2023-02-13T21:02:00.173Z] Cloning the remote Git repository [2023-02-13T21:02:00.223Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-13T21:02:00.302Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-13T21:02:00.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-13T21:02:00.451Z] > git --version # timeout=10 [2023-02-13T21:02:00.472Z] > git --version # 'git version 2.25.1' [2023-02-13T21:02:00.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T21:02:00.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T21:02:02.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-13T21:02:02.489Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T21:02:04.078Z] Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit d933cdb363df89acba48e42ae74d50ccf49259ea [2023-02-13T21:02:04.332Z] Merge succeeded, producing d933cdb363df89acba48e42ae74d50ccf49259ea [2023-02-13T21:02:04.332Z] Checking out Revision d933cdb363df89acba48e42ae74d50ccf49259ea (PR-250) [2023-02-13T21:02:03.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-13T21:02:03.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-13T21:02:03.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T21:02:03.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/250/head:refs/remotes/origin/PR-250 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T21:02:04.105Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T21:02:04.128Z] > git checkout -f d933cdb363df89acba48e42ae74d50ccf49259ea # timeout=10 [2023-02-13T21:02:04.220Z] > git remote # timeout=10 [2023-02-13T21:02:04.241Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T21:02:04.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T21:02:04.283Z] > git merge b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 [2023-02-13T21:02:04.310Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T21:02:04.343Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T21:02:04.357Z] > git checkout -f d933cdb363df89acba48e42ae74d50ccf49259ea # timeout=10 [2023-02-13T21:02:04.899Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-13T21:02:04.964Z] > git --version # timeout=10 [2023-02-13T21:02:04.977Z] > git --version # 'git version 2.25.1' [2023-02-13T21:02:05.002Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T21:02:06.115Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T21:02:06.115Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T21:02:06.115Z] Dload Upload Total Spent Left Speed [2023-02-13T21:02:06.116Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh [2023-02-13T21:02:06.840Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T21:02:07.192Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T21:02:07.192Z] + sudo tee /etc/docker/daemon.new [2023-02-13T21:02:07.192Z] { [2023-02-13T21:02:07.192Z] "registry-mirrors": [ [2023-02-13T21:02:07.192Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T21:02:07.192Z] ], [2023-02-13T21:02:07.192Z] "bip": "10.250.0.254/24", [2023-02-13T21:02:07.192Z] "hosts": [ [2023-02-13T21:02:07.192Z] "tcp://0.0.0.0:5555", [2023-02-13T21:02:07.192Z] "unix:///var/run/docker.sock" [2023-02-13T21:02:07.192Z] ], [2023-02-13T21:02:07.192Z] "mtu": 1458, [2023-02-13T21:02:07.192Z] "selinux-enabled": true, [2023-02-13T21:02:07.192Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T21:02:07.192Z] } [Pipeline] sh [2023-02-13T21:02:07.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T21:02:07.890Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T21:02:26.208Z] provisioning config files... [2023-02-13T21:02:26.235Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9686535801284569148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:02:26.621Z] ---> docker-login.sh [2023-02-13T21:02:26.621Z] nexus3.edgexfoundry.org:10001 [2023-02-13T21:02:26.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T21:02:27.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T21:02:27.163Z] Configure a credential helper to remove this warning. See [2023-02-13T21:02:27.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T21:02:27.163Z] [2023-02-13T21:02:27.163Z] Login Succeeded [2023-02-13T21:02:27.163Z] nexus3.edgexfoundry.org:10002 [2023-02-13T21:02:27.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T21:02:27.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T21:02:27.703Z] Configure a credential helper to remove this warning. See [2023-02-13T21:02:27.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T21:02:27.703Z] [2023-02-13T21:02:27.703Z] Login Succeeded [2023-02-13T21:02:27.703Z] nexus3.edgexfoundry.org:10003 [2023-02-13T21:02:27.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T21:02:27.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T21:02:27.978Z] Configure a credential helper to remove this warning. See [2023-02-13T21:02:27.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T21:02:27.978Z] [2023-02-13T21:02:27.978Z] Login Succeeded [2023-02-13T21:02:27.978Z] nexus3.edgexfoundry.org:10004 [2023-02-13T21:02:28.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T21:02:28.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T21:02:28.249Z] Configure a credential helper to remove this warning. See [2023-02-13T21:02:28.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T21:02:28.249Z] [2023-02-13T21:02:28.249Z] Login Succeeded [2023-02-13T21:02:28.249Z] docker.io [2023-02-13T21:02:28.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T21:02:29.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T21:02:29.108Z] Configure a credential helper to remove this warning. See [2023-02-13T21:02:29.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T21:02:29.108Z] [2023-02-13T21:02:29.108Z] Login Succeeded [2023-02-13T21:02:29.108Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T21:02:29.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T21:02:29.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T21:02:29.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T21:02:29.619Z] ========================================================= [2023-02-13T21:02:29.619Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T21:02:29.619Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:02:30.128Z] + 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-13T21:02:30.725Z] Sending build context to Docker daemon 142.8kB [2023-02-13T21:02:30.995Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T21:02:30.995Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T21:02:30.995Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T21:02:30.995Z] 9b18e9b68314: Pulling fs layer [2023-02-13T21:02:30.995Z] 35d82f9e3411: Pulling fs layer [2023-02-13T21:02:30.995Z] e16973657156: Pulling fs layer [2023-02-13T21:02:30.995Z] fc693d55d65f: Pulling fs layer [2023-02-13T21:02:30.995Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T21:02:30.995Z] dda99020689f: Pulling fs layer [2023-02-13T21:02:30.995Z] db1c61fa0a46: Pulling fs layer [2023-02-13T21:02:30.995Z] 891c053d2c06: Pulling fs layer [2023-02-13T21:02:30.995Z] fc693d55d65f: Waiting [2023-02-13T21:02:30.995Z] 7e9fc2657dce: Waiting [2023-02-13T21:02:30.995Z] dda99020689f: Waiting [2023-02-13T21:02:30.995Z] db1c61fa0a46: Waiting [2023-02-13T21:02:30.995Z] 891c053d2c06: Waiting [2023-02-13T21:02:30.995Z] e16973657156: Verifying Checksum [2023-02-13T21:02:30.995Z] e16973657156: Download complete [2023-02-13T21:02:30.995Z] 35d82f9e3411: Verifying Checksum [2023-02-13T21:02:30.995Z] 35d82f9e3411: Download complete [2023-02-13T21:02:31.268Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T21:02:31.268Z] 7e9fc2657dce: Download complete [2023-02-13T21:02:31.268Z] dda99020689f: Download complete [2023-02-13T21:02:31.268Z] 9b18e9b68314: Verifying Checksum [2023-02-13T21:02:31.268Z] 9b18e9b68314: Download complete [2023-02-13T21:02:32.235Z] 9b18e9b68314: Pull complete [2023-02-13T21:02:32.235Z] 891c053d2c06: Verifying Checksum [2023-02-13T21:02:32.235Z] 891c053d2c06: Download complete [2023-02-13T21:02:32.506Z] 35d82f9e3411: Pull complete [2023-02-13T21:02:32.783Z] e16973657156: Pull complete [2023-02-13T21:02:33.372Z] db1c61fa0a46: Verifying Checksum [2023-02-13T21:02:33.372Z] db1c61fa0a46: Download complete [2023-02-13T21:02:33.959Z] fc693d55d65f: Verifying Checksum [2023-02-13T21:02:33.959Z] fc693d55d65f: Download complete [2023-02-13T21:02:46.293Z] fc693d55d65f: Pull complete [2023-02-13T21:02:46.293Z] 7e9fc2657dce: Pull complete [2023-02-13T21:02:46.293Z] dda99020689f: Pull complete [2023-02-13T21:02:50.547Z] db1c61fa0a46: Pull complete [2023-02-13T21:02:51.516Z] 891c053d2c06: Pull complete [2023-02-13T21:02:51.516Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T21:02:51.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T21:02:51.516Z] ---> f96f9c87975a [2023-02-13T21:02:51.516Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T21:02:53.534Z] ---> Running in 0890aeb6a108 [2023-02-13T21:02:53.830Z] Removing intermediate container 0890aeb6a108 [2023-02-13T21:02:53.830Z] ---> 7eebfad64eb8 [2023-02-13T21:02:53.830Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T21:02:53.830Z] ---> Running in 99760fe82e59 [2023-02-13T21:02:54.110Z] Removing intermediate container 99760fe82e59 [2023-02-13T21:02:54.110Z] ---> 58af85592031 [2023-02-13T21:02:54.110Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T21:02:54.383Z] ---> Running in 23240fd668ca [2023-02-13T21:02:54.659Z] Removing intermediate container 23240fd668ca [2023-02-13T21:02:54.659Z] ---> a24a0f454dc8 [2023-02-13T21:02:54.659Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T21:02:54.659Z] ---> Running in 235223e0f4be [2023-02-13T21:02:54.928Z] Removing intermediate container 235223e0f4be [2023-02-13T21:02:54.928Z] ---> c0177a458e58 [2023-02-13T21:02:54.928Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T21:02:55.193Z] ---> Running in 6f69576546af [2023-02-13T21:02:56.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T21:02:56.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T21:02:57.376Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T21:02:57.376Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T21:02:57.376Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T21:02:57.376Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T21:02:57.376Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T21:02:57.641Z] OK: 226 MiB in 55 packages [2023-02-13T21:02:58.599Z] Removing intermediate container 6f69576546af [2023-02-13T21:02:58.599Z] ---> 4df9397b28e2 [2023-02-13T21:02:58.599Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-13T21:02:58.599Z] ---> Running in d1671f495a2a [2023-02-13T21:02:58.867Z] Removing intermediate container d1671f495a2a [2023-02-13T21:02:58.867Z] ---> 49999d84d257 [2023-02-13T21:02:58.867Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-13T21:02:59.448Z] ---> 68420a13d657 [2023-02-13T21:02:59.448Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T21:02:59.448Z] ---> Running in c4426668e546 [2023-02-13T21:04:07.337Z] Removing intermediate container c4426668e546 [2023-02-13T21:04:07.337Z] ---> 35981e32f3e4 [2023-02-13T21:04:07.337Z] Step 11/12 : COPY . . [2023-02-13T21:04:07.337Z] ---> 567bcda24cd2 [2023-02-13T21:04:07.337Z] Step 12/12 : RUN $MAKE [2023-02-13T21:04:07.337Z] ---> Running in b5078ad44d00 [2023-02-13T21:04:07.337Z] noop [2023-02-13T21:04:07.607Z] Removing intermediate container b5078ad44d00 [2023-02-13T21:04:07.607Z] ---> e0c783531755 [2023-02-13T21:04:07.607Z] Successfully built e0c783531755 [2023-02-13T21:04:07.607Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:04:08.084Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T21:04:08.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:04:08.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-5607 does not seem to be running inside a container [2023-02-13T21:04:08.413Z] $ 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-13T21:04:09.636Z] $ docker top c9e544eb5a3b737d9a5839e43f2cbe01fe196116a6d4380ce85fd3dac5d4de7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T21:04:10.528Z] + go version [2023-02-13T21:04:10.528Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T21:04:10.563Z] $ docker stop --time=1 c9e544eb5a3b737d9a5839e43f2cbe01fe196116a6d4380ce85fd3dac5d4de7c [2023-02-13T21:04:13.376Z] $ docker rm -f --volumes c9e544eb5a3b737d9a5839e43f2cbe01fe196116a6d4380ce85fd3dac5d4de7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:04:14.241Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T21:04:14.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:04:14.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-5607 does not seem to be running inside a container [2023-02-13T21:04:14.572Z] $ 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-13T21:04:15.848Z] $ docker top 8850070aa773c30afaea4cca47396db08d082c1074e30dc31df6a18eb7a50585 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T21:04:16.728Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T21:04:17.436Z] + make test [2023-02-13T21:04:17.436Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T21:04:18.848Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-13T21:05:40.508Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-13T21:05:40.508Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.9% of statements [2023-02-13T21:05:40.508Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T21:05:40.508Z] go vet ./... [2023-02-13T21:06:02.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T21:06:02.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T21:06:02.596Z] ./bin/test-attribution-txt.sh [2023-02-13T21:06:02.596Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T21:06:02.596Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T21:06:02.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T21:06:02.665Z] $ docker stop --time=1 8850070aa773c30afaea4cca47396db08d082c1074e30dc31df6a18eb7a50585 [2023-02-13T21:06:04.416Z] $ docker rm -f --volumes 8850070aa773c30afaea4cca47396db08d082c1074e30dc31df6a18eb7a50585 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T21:06:05.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T21:06:05.415Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T21:06:05.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T21:06:06.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T21:06:06.758Z] + ls -al . [2023-02-13T21:06:06.758Z] total 184 [2023-02-13T21:06:06.758Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 21:04 . [2023-02-13T21:06:06.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 21:02 .. [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 13 21:02 .dockerignore [2023-02-13T21:06:06.758Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 21:02 .git [2023-02-13T21:06:06.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 21:02 .github [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 13 21:02 .gitignore [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 21:02 .golangci.yml [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 13 21:02 Attribution.txt [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 13 21:02 CHANGELOG.md [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 13 21:02 Dockerfile [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 21:02 GOVERNANCE.md [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 21:02 Jenkinsfile [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 21:02 LICENSE [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 13 21:02 Makefile [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 13 21:02 OWNERS.md [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 13 21:02 README.md [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 20:59 VERSION [2023-02-13T21:06:06.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 21:02 bin [2023-02-13T21:06:06.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 21:02 cmd [2023-02-13T21:06:06.758Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 13 21:05 coverage.out [2023-02-13T21:06:06.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 21:02 driver [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 13 21:02 go.mod [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 13 21:02 go.sum [2023-02-13T21:06:06.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 21:02 snap [2023-02-13T21:06:06.758Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 13 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:06:07.181Z] + 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=d933cdb363df89acba48e42ae74d50ccf49259ea --label arch=arm64 --label version=0.0.0 . [2023-02-13T21:06:07.181Z] Sending build context to Docker daemon 157.2kB [2023-02-13T21:06:07.448Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T21:06:07.448Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T21:06:07.448Z] ---> e0c783531755 [2023-02-13T21:06:07.448Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T21:06:07.448Z] ---> Running in a0c49b85d676 [2023-02-13T21:06:07.717Z] Removing intermediate container a0c49b85d676 [2023-02-13T21:06:07.717Z] ---> 779f89a4213f [2023-02-13T21:06:07.717Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T21:06:07.717Z] ---> Running in 9f481eab1f2c [2023-02-13T21:06:09.130Z] Removing intermediate container 9f481eab1f2c [2023-02-13T21:06:09.130Z] ---> afe8cf05d99c [2023-02-13T21:06:09.130Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T21:06:09.130Z] ---> Running in 6d22025eaa66 [2023-02-13T21:06:09.130Z] Removing intermediate container 6d22025eaa66 [2023-02-13T21:06:09.130Z] ---> e0be5d31eabc [2023-02-13T21:06:09.130Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T21:06:09.130Z] ---> Running in 5bd8a837714f [2023-02-13T21:06:09.715Z] Removing intermediate container 5bd8a837714f [2023-02-13T21:06:09.715Z] ---> 8d4c94951c1c [2023-02-13T21:06:09.716Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T21:06:09.716Z] ---> Running in 0ab45ca00474 [2023-02-13T21:06:10.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T21:06:10.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T21:06:11.923Z] OK: 226 MiB in 55 packages [2023-02-13T21:06:12.888Z] Removing intermediate container 0ab45ca00474 [2023-02-13T21:06:12.888Z] ---> bc06615c9ea0 [2023-02-13T21:06:12.888Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-13T21:06:12.888Z] ---> Running in 226f0070d624 [2023-02-13T21:06:13.156Z] Removing intermediate container 226f0070d624 [2023-02-13T21:06:13.156Z] ---> 97b1670fae0d [2023-02-13T21:06:13.156Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-13T21:06:13.741Z] ---> 6588a7ca536e [2023-02-13T21:06:13.741Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T21:06:13.741Z] ---> Running in cee5cda5381e [2023-02-13T21:06:17.998Z] Removing intermediate container cee5cda5381e [2023-02-13T21:06:17.998Z] ---> 446cd6662648 [2023-02-13T21:06:17.998Z] Step 11/25 : COPY . . [2023-02-13T21:06:18.274Z] ---> 9a60f171cfdd [2023-02-13T21:06:18.274Z] Step 12/25 : RUN $MAKE [2023-02-13T21:06:18.544Z] ---> Running in 12cd4eff055b [2023-02-13T21:06:19.504Z] 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-13T21:08:41.562Z] Removing intermediate container 12cd4eff055b [2023-02-13T21:08:41.562Z] ---> 7fd04fb842e3 [2023-02-13T21:08:41.562Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T21:08:41.562Z] 3.16: Pulling from library/alpine [2023-02-13T21:08:41.562Z] 3760b48202b3: Pulling fs layer [2023-02-13T21:08:41.562Z] 3760b48202b3: Verifying Checksum [2023-02-13T21:08:41.562Z] 3760b48202b3: Download complete [2023-02-13T21:08:41.562Z] 3760b48202b3: Pull complete [2023-02-13T21:08:41.562Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T21:08:41.562Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T21:08:41.562Z] ---> 4c81e5bf8899 [2023-02-13T21:08:41.562Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T21:08:41.562Z] ---> Running in a6b6b7045a00 [2023-02-13T21:08:41.562Z] Removing intermediate container a6b6b7045a00 [2023-02-13T21:08:41.562Z] ---> fbeb4bbae42f [2023-02-13T21:08:41.562Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-13T21:08:41.562Z] ---> Running in 578d8e6dc761 [2023-02-13T21:08:41.562Z] Removing intermediate container 578d8e6dc761 [2023-02-13T21:08:41.562Z] ---> 8e2b5fd2f7c6 [2023-02-13T21:08:41.562Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-13T21:08:41.562Z] ---> Running in 1c1d381cb0bf [2023-02-13T21:08:41.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T21:08:41.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T21:08:41.562Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T21:08:41.562Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T21:08:41.562Z] OK: 5 MiB in 15 packages [2023-02-13T21:08:41.562Z] Removing intermediate container 1c1d381cb0bf [2023-02-13T21:08:41.562Z] ---> 1241afd64205 [2023-02-13T21:08:41.562Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-13T21:08:41.562Z] ---> 06c3574df472 [2023-02-13T21:08:41.562Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-13T21:08:41.562Z] ---> c7ac44114a57 [2023-02-13T21:08:41.562Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-13T21:08:41.562Z] ---> d24a35f50da0 [2023-02-13T21:08:41.562Z] Step 20/25 : EXPOSE 59986 [2023-02-13T21:08:41.562Z] ---> Running in dfd78bebc74b [2023-02-13T21:08:41.562Z] Removing intermediate container dfd78bebc74b [2023-02-13T21:08:41.562Z] ---> fb745d46c514 [2023-02-13T21:08:41.562Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-13T21:08:41.562Z] ---> Running in 09f4616546c0 [2023-02-13T21:08:41.562Z] Removing intermediate container 09f4616546c0 [2023-02-13T21:08:41.562Z] ---> b344ac4fc017 [2023-02-13T21:08:41.562Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-13T21:08:41.562Z] ---> Running in 2301ff7c2dc4 [2023-02-13T21:08:41.562Z] Removing intermediate container 2301ff7c2dc4 [2023-02-13T21:08:41.562Z] ---> e1cfb099dc68 [2023-02-13T21:08:41.562Z] Step 23/25 : LABEL arch=arm64 [2023-02-13T21:08:41.562Z] ---> Running in 5d85d39c21c8 [2023-02-13T21:08:41.562Z] Removing intermediate container 5d85d39c21c8 [2023-02-13T21:08:41.562Z] ---> efe2a9512cf8 [2023-02-13T21:08:41.562Z] Step 24/25 : LABEL git_sha=d933cdb363df89acba48e42ae74d50ccf49259ea [2023-02-13T21:08:41.562Z] ---> Running in cdc227301900 [2023-02-13T21:08:41.562Z] Removing intermediate container cdc227301900 [2023-02-13T21:08:41.562Z] ---> f9ea826f7784 [2023-02-13T21:08:41.562Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T21:08:41.562Z] ---> Running in e5b68cf96cf0 [2023-02-13T21:08:41.562Z] Removing intermediate container e5b68cf96cf0 [2023-02-13T21:08:41.562Z] ---> 5bea973483bf [2023-02-13T21:08:41.562Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T21:08:41.562Z] Successfully built 5bea973483bf [2023-02-13T21:08:41.562Z] 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-13T21:08:42.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T21:08:42.385Z] [2023-02-13T21:08:42.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:08:42.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T21:08:42.779Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T21:08:42.779Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T21:08:42.779Z] 04944245beec: Pulling fs layer [2023-02-13T21:08:42.779Z] 699f458cf7ca: Pulling fs layer [2023-02-13T21:08:42.780Z] 765212b225bb: Pulling fs layer [2023-02-13T21:08:42.780Z] f23df028b6ca: Pulling fs layer [2023-02-13T21:08:42.780Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T21:08:42.780Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T21:08:42.780Z] 765212b225bb: Waiting [2023-02-13T21:08:42.780Z] f23df028b6ca: Waiting [2023-02-13T21:08:42.780Z] d65c8cfc05b1: Waiting [2023-02-13T21:08:42.780Z] 2437ff75d9bd: Waiting [2023-02-13T21:08:43.051Z] 04944245beec: Verifying Checksum [2023-02-13T21:08:43.051Z] 04944245beec: Download complete [2023-02-13T21:08:43.051Z] 765212b225bb: Download complete [2023-02-13T21:08:43.051Z] f23df028b6ca: Verifying Checksum [2023-02-13T21:08:43.051Z] f23df028b6ca: Download complete [2023-02-13T21:08:43.051Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T21:08:43.051Z] d65c8cfc05b1: Download complete [2023-02-13T21:08:43.320Z] 699f458cf7ca: Verifying Checksum [2023-02-13T21:08:43.320Z] 699f458cf7ca: Download complete [2023-02-13T21:08:43.591Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T21:08:43.591Z] 8998bd30e6a1: Download complete [2023-02-13T21:08:46.182Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T21:08:46.182Z] 2437ff75d9bd: Download complete [2023-02-13T21:08:47.593Z] 8998bd30e6a1: Pull complete [2023-02-13T21:08:48.185Z] 04944245beec: Pull complete [2023-02-13T21:08:49.593Z] 699f458cf7ca: Pull complete [2023-02-13T21:08:49.593Z] 765212b225bb: Pull complete [2023-02-13T21:08:50.552Z] f23df028b6ca: Pull complete [2023-02-13T21:08:50.552Z] d65c8cfc05b1: Pull complete [2023-02-13T21:09:05.552Z] 2437ff75d9bd: Pull complete [2023-02-13T21:09:05.552Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T21:09:05.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T21:09:05.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:09:05.852Z] prd-ubuntu20.04-docker-arm64-4c-16g-5607 does not seem to be running inside a container [2023-02-13T21:09:05.916Z] $ 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-13T21:09:08.500Z] $ docker top 8d3773313fddbd0455d56119e3b2e19a9afc458f79ded2db16458a76a8598329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:09.451Z] ---> job-cost.sh [2023-02-13T21:09:09.451Z] lf-activate-venv: SKIPPING [2023-02-13T21:09:09.451Z] INFO: No Stack... [2023-02-13T21:09:09.728Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T21:09:10.697Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T21:09:11.038Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-02-13T21:09:11.038Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T21:09:11.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] [2023-02-13T21:09:11.409Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] did not exist. Created. [2023-02-13T21:09:11.409Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T21:09:11.822Z] /w/workspace/device-rest-go/1@tmp/durable-aa201898/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T21:09:12.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T21:09:12.211Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T21:09:12.252Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T21:09:12.270Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-250-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T21:09:12.343Z] $ docker stop --time=1 8d3773313fddbd0455d56119e3b2e19a9afc458f79ded2db16458a76a8598329 [2023-02-13T21:09:13.785Z] $ docker rm -f --volumes 8d3773313fddbd0455d56119e3b2e19a9afc458f79ded2db16458a76a8598329 [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-13T21:09:14.762Z] provisioning config files... [2023-02-13T21:09:14.770Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-250@tmp/config16529141488930732234tmp [Pipeline] { [Pipeline] sh [2023-02-13T21:09:15.098Z] + set +x [2023-02-13T21:09:15.098Z] + curl -s https://codecov.io/bash+ [2023-02-13T21:09:15.098Z] bash -s -- [2023-02-13T21:09:15.098Z] [2023-02-13T21:09:15.098Z] _____ _ [2023-02-13T21:09:15.098Z] / ____| | | [2023-02-13T21:09:15.098Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T21:09:15.098Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T21:09:15.098Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T21:09:15.098Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T21:09:15.098Z] Bash-1.0.6 [2023-02-13T21:09:15.098Z] [2023-02-13T21:09:15.098Z] [2023-02-13T21:09:15.098Z] ==> git version 2.25.1 found [2023-02-13T21:09:15.098Z] ==> 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-13T21:09:15.098Z] Release-Date: 2020-01-08 [2023-02-13T21:09:15.098Z] 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-13T21:09:15.098Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T21:09:15.098Z] ==> Jenkins CI detected. [2023-02-13T21:09:15.098Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-250 [2023-02-13T21:09:15.098Z] project root: . [2023-02-13T21:09:15.098Z] --> token set from env [2023-02-13T21:09:15.098Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T21:09:15.098Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T21:09:15.357Z] ==> Python coveragepy not found [2023-02-13T21:09:15.357Z] ==> Searching for coverage reports in: [2023-02-13T21:09:15.357Z] + . [2023-02-13T21:09:15.357Z] -> Found 1 reports [2023-02-13T21:09:15.357Z] ==> Detecting git/mercurial file structure [2023-02-13T21:09:15.357Z] ==> Reading reports [2023-02-13T21:09:15.357Z] + ./coverage.out bytes=13744 [2023-02-13T21:09:15.357Z] ==> Appending adjustments [2023-02-13T21:09:15.357Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T21:09:15.357Z] + Found adjustments [2023-02-13T21:09:15.357Z] ==> Gzipping contents [2023-02-13T21:09:15.357Z] 4.0K /tmp/codecov.inT7OU.gz [2023-02-13T21:09:15.357Z] ==> Uploading reports [2023-02-13T21:09:15.357Z] url: https://codecov.io [2023-02-13T21:09:15.357Z] query: branch=PR-250&commit=d933cdb363df89acba48e42ae74d50ccf49259ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=250&job=&cmd_args= [2023-02-13T21:09:15.357Z] -> Pinging Codecov [2023-02-13T21:09:15.357Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-250&commit=d933cdb363df89acba48e42ae74d50ccf49259ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=250&job=&cmd_args= [2023-02-13T21:09:15.616Z] -> Uploading to [2023-02-13T21:09:15.616Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/4E5D53B4F1F92C436F7061BF334D961C/d933cdb363df89acba48e42ae74d50ccf49259ea/8e504160-cb43-4232-ab78-be23db6b6104.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T210915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a51c4c7c3198dd2663ca92cb530081595076a8727bd74b20818234faa7a7876 [2023-02-13T21:09:15.616Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T21:09:15.616Z] Dload Upload Total Spent Left Speed [2023-02-13T21:09:15.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 11004 --:--:-- --:--:-- --:--:-- 11004 100 2443 0 0 100 2443 0 9184 --:--:-- --:--:-- --:--:-- 9149 [2023-02-13T21:09:15.876Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d933cdb363df89acba48e42ae74d50ccf49259ea [Pipeline] } [2023-02-13T21:09:15.906Z] 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-13T21:09:17.585Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-250/archives ] [2023-02-13T21:09:17.585Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-250/archives [2023-02-13T21:09:17.585Z] total 16 [2023-02-13T21:09:17.585Z] drwxr-xr-x 3 root root 4096 Feb 13 21:01 . [2023-02-13T21:09:17.585Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 21:01 .. [2023-02-13T21:09:17.585Z] drwxr-xr-x 2 root root 4096 Feb 13 21:01 cost [2023-02-13T21:09:17.585Z] -rw-r--r-- 1 root root 86 Feb 13 21:01 cost.csv [2023-02-13T21:09:17.585Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-250/archives [2023-02-13T21:09:17.585Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-250/archives [2023-02-13T21:09:17.585Z] total 16 [2023-02-13T21:09:17.585Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 21:01 . [2023-02-13T21:09:17.585Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 21:01 .. [2023-02-13T21:09:17.585Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 21:01 cost [2023-02-13T21:09:17.585Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:17.908Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:18.790Z] ---> package-listing.sh [2023-02-13T21:09:18.790Z] ++ facter osfamily [2023-02-13T21:09:18.790Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T21:09:19.050Z] + OS_FAMILY=debian [2023-02-13T21:09:19.050Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-250 [2023-02-13T21:09:19.050Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T21:09:19.050Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T21:09:19.050Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T21:09:19.050Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T21:09:19.050Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-250 ']' [2023-02-13T21:09:19.050Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T21:09:19.050Z] + case "${OS_FAMILY}" in [2023-02-13T21:09:19.050Z] + dpkg -l [2023-02-13T21:09:19.050Z] + grep '^ii' [2023-02-13T21:09:19.050Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T21:09:19.050Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T21:09:19.050Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T21:09:19.050Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-250 ']' [2023-02-13T21:09:19.050Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-250/archives/ [2023-02-13T21:09:19.050Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-250/archives/ [Pipeline] echo [2023-02-13T21:09:19.085Z] 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-250/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T21:09:19.376Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T21:09:20.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T21:09:20.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T21:09:20.151Z] prd-ubuntu20.04-docker-8c-8g-5605 does not seem to be running inside a container [2023-02-13T21:09:20.177Z] $ 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-250/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-250 -v /w/workspace/gexfoundry_device-rest-go_PR-250:/w/workspace/gexfoundry_device-rest-go_PR-250:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-250@tmp:/w/workspace/gexfoundry_device-rest-go_PR-250@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-13T21:09:20.356Z] $ docker top 38530a450ac69dc08270386150e16c874e32d74eb54edf528b8072fc3dac3d00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T21:09:20.737Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T21:09:21.042Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T21:09:21.346Z] + ls /var/log/sa-host [2023-02-13T21:09:21.346Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T21:09:21.488Z] provisioning config files... [2023-02-13T21:09:21.496Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-250@tmp/config14900935894106424897tmp [Pipeline] { [Pipeline] echo [2023-02-13T21:09:21.546Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:21.855Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T21:09:21.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:22.271Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T21:09:22.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:22.602Z] ---> sudo-logs.sh [2023-02-13T21:09:22.602Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T21:09:22.687Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:22.992Z] ---> job-cost.sh [2023-02-13T21:09:22.992Z] lf-activate-venv: SKIPPING [2023-02-13T21:09:22.992Z] DEBUG: total: 0.2199999988079071 [2023-02-13T21:09:22.992Z] INFO: Retrieving Stack Cost... [2023-02-13T21:09:23.927Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T21:09:24.185Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T21:09:24.222Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T21:09:24.532Z] ---> logs-deploy.sh [2023-02-13T21:09:24.532Z] lf-activate-venv: SKIPPING [2023-02-13T21:09:24.532Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-250/1 [2023-02-13T21:09:24.532Z] INFO: archiving workspace using pattern(s): [2023-02-13T21:09:25.470Z] Archives upload complete. [2023-02-13T21:09:25.470Z] INFO: archiving logs to Nexus